home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / os2 / pmfract2.zip / PMFRACT.INF (.txt) < prev    next >
OS/2 Help File  |  1992-07-03  |  134KB  |  3,838 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Copyright ΓòÉΓòÉΓòÉ
  3.  
  4. Copyright (C) 1992 The Stone Soup Group.  FRACTINT for OS/2 2.0 may be freely 
  5. copied and distributed, but may not be sold. 
  6.  
  7. GIF and "Graphics Interchange Format" are trademarks of Compuserve 
  8. Incorporated, an H&R Block Company. 
  9.  
  10.  
  11. ΓòÉΓòÉΓòÉ 2. What's New ΓòÉΓòÉΓòÉ
  12.  
  13. Release 17.2 of Fractint for OS/2 2.0 
  14.  
  15. The following is what I remember adding. 
  16.  
  17. o This program is now full 32-bit 386 protected mode. 
  18.  
  19. o The fractal calculation engine is from Fractint for DOS version 17.2 (the 
  20.   "portable" source). All formulas available in that release are available 
  21.   here. This version appears externally identical to Fractint for DOS version 
  22.   17.1. 
  23.  
  24. o Palette Manager support has been added. This means that, on proper hardware 
  25.   and OS/2 2.0 driver levels, the exact color RGB values used in the program 
  26.   will be displayed (limited to the mapping done by the Palette Manager. The 
  27.   foreground program gets first crack at setting its colors, then background 
  28.   programs). 
  29.  
  30.   At least I think so. At the present, there are NO drivers delivered with 
  31.   Palette Manager support. The calls exist, I am not receiving errors, But The 
  32.   Color's Don't Change! 
  33.  
  34.   Note:  It is my best information that a basic VGA (256K memory, 640x480 
  35.   16-color) Is Not and NEVER Will Be Proper Hardware and Drivers for Palette 
  36.   Manager functions.  Sorry! 
  37.  
  38. o The fractal calculation engine has finally recieved a reprieve from the 
  39.   limits of the 64K segments of DOS and Windows. As such, the fractal image can 
  40.   now be 4096 by 4096 pixels. 
  41.  
  42.   Warning: Don't over do this new-found freedom. 
  43.  
  44.   Do a little reality check first. 
  45.  
  46.   The fact is PMFRACT needs a pixel memory array of the size you ask, and OS/2 
  47.   NEEDS ONE, TOO. 
  48.  
  49.   A little calculation: 
  50.  
  51.    A 2-color image needs 1 bit per pixel, a 16-color image needs a half byte (4 
  52.    bits), and a 256-color image needs 1 full byte (8 bits). An image 4096 by 
  53.    4096 by 256 colors needs 4096x4096/1 = 16,777,216 bytes or 16 megabytes -- 
  54.    TIMES 2; or 32 MEGABYTES of memory. OS/2 2.0 can handle it. Can your system? 
  55.  
  56.    Remember, what doesn't fit in your real memory comes out of your hard disk's 
  57.    SWAPPER.DAT file. Do you have that much space free to begin with? Can the 
  58.    drive live long enough to handle all the swapping? A test (well, really a 
  59.    finger check) during development revealed that you can easily end up with a 
  60.    situation that could only be described as disk-video at its worst. (And no, 
  61.    OS/2 2.0 Did Not Crash.) 
  62.  
  63. o Support for reading and writing in the PC Paintbrush . PCX format has been 
  64.   added. 
  65.  
  66. o Printer support has been enhanced to include a Printer Setup dialog, allowing 
  67.   a Presentation Manager printer to be selected and Job Properties to be set. 
  68.  
  69. The following was added to version 3.0 of Fractint for Presentation Manager - 
  70. the 16-bit predecessor and base for Fractint for OS/2 2.0: 
  71.  
  72. o This entire help system is new. Much of the on-line help system from Fractint 
  73.   for DOS has been adapted to the OS/2 PM Help manager. 
  74.  
  75.   Try hitting F1 at any point in the dialogs. The result is supposed to be in 
  76.   context and helpful. 
  77.  
  78.   The entire help file is available both in context with the running program as 
  79.   well as in an on-line book format. To view the on-line book, issue the 
  80.   command "VIEW PMFRACT.INF". 
  81.  
  82. o A simple keyboard interface of some of the useful Fractint for DOS command 
  83.   keys has been added. See the selection "Keys Help" from the main Help menu 
  84.   selection. 
  85.  
  86. o Support has been added for Bitmap files in the Windows 3.0 compressed formats 
  87.   (RLE4 and RLE8), and OS/2 2.0 standard and RLE4 and RLE8 compressed formats. 
  88.   This is in addition to the original support for OS/2 1.x and Windows 3.0 
  89.   uncompressed bitmap formats. 
  90.  
  91. o Print support has been extended to whatever type printer (Color or Black and 
  92.   White) the Presentation Manager supports. This complicates printing on a 
  93.   Black and White printer. To print Black and White, select one of the Black 
  94.   and White palettes from the Settings/Palette menu before printing. 
  95.  
  96. o I have found a few speed-ups for the PM interface code. 
  97.  
  98.  
  99. ΓòÉΓòÉΓòÉ 3. Introduction ΓòÉΓòÉΓòÉ
  100.  
  101. FRACTINT plots and manipulates images of "objects" -- actually, sets of 
  102. mathematical points -- that have fractal dimension. See chapter 9 for some 
  103. historical and mathematical background on fractal geometry, a discipline named 
  104. and popularized by mathematician Benoit Mandelbrot. For now, these sets of 
  105. points have three important properties: 
  106.  
  107.  1. They are generated by relatively simple calculations repeated over and 
  108.     over, feeding the results of each step back into the next -- something 
  109.     computers can do very rapidly. 
  110.  
  111.  2. They are, quite literally, infinitely complex: they reveal more and more 
  112.     detail without limit as you plot smaller and smaller areas. Fractint lets 
  113.     you "zoom in" by positioning a small box and hitting <Enter> to redraw the 
  114.     boxed area at full-screen size; its maximum linear "magnification" is over 
  115.     a trillionfold. 
  116.  
  117.  3. They can be astonishingly beautiful, especially using PC color displays' 
  118.     ability to assign colors to selected points, and (with VGA displays or EGA 
  119.     in 640x350x16 mode) to "animate" the images by quickly shifting those color 
  120.     assignments. 
  121.  
  122. The name FRACTINT was chosen because the program generates many of its images 
  123. using INTeger math, rather than the floating point calculations used by most 
  124. such programs. That means that you don't need a math co- processor chip (aka 
  125. floating point unit or FPU), although for a few fractal types where floating 
  126. point math is faster, the program recognizes and automatically uses an 80x87 
  127. chip if it's present. It's even faster on systems using Intel's 80386 and 80486 
  128. microprocessors, where the integer math can be executed in their native 32-bit 
  129. mode. 
  130.  
  131. Fractint works with many adapters and graphics modes from CGA to the 1024x768, 
  132. 256-color 8514/A mode. Even "larger" images, up to 2048x2048x256, can be 
  133. plotted to expanded memory, extended memory, or disk: this bypasses the screen 
  134. and allows you to create images with higher resolution than your current 
  135. display can handle, and to run in "background" under multi-tasking control 
  136. programs such as DESQview and Windows 3. 
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ 3.1. History of this program ΓòÉΓòÉΓòÉ
  140.  
  141. Fractint is an experiment in collaboration. Many volunteers have joined Bert 
  142. Tyler, the program's first author, in improving successive versions. Through 
  143. electronic mail messages, first on CompuServe's PICS forum and now on COMART, 
  144. new versions are hacked out and debugged a little at a time. Fractint was born 
  145. fast, and none of us has seen any other fractal plotter close to the present 
  146. version for speed, versatility, and all-around wonderfulness. (If you have, 
  147. tell us so we can steal somebody else's ideas instead of each other's.) See 
  148. Appendix B for information about the authors and how to contribute your own 
  149. ideas and code. 
  150.  
  151. Fractint for OS/2 2.0 was adapted from Fractint-for-DOS by Donald P. Egen, CIS 
  152. ID 73507,3143. This program was a training exercise in Presentation Manager and 
  153. SAA programming, which goes a long way towards explaining a lot of the bugs. My 
  154. task was made a lot easier by Pieter Branderhorst, who separated the 
  155. DOS-specific code from Fractint-for-DOS's fractal generator modules, and the 
  156. efforts of Bert Tyler in porting Fractint-for-DOS to Windows. By noting what 
  157. Bert had to do to get the fractal generator running under Windows, and the user 
  158. interface functionality needed for the Windows environment, I was able to 
  159. create a Presentation Manager user interface that could adequately drive the 
  160. fractal generator. Besides, I like looking at the pretty pictures. 
  161.  
  162. Fractint for OS/2 2.0 is based heavily on (and uses the fractal generator 
  163. engines straight out of) Fractint-for-DOS.  A partial list of the authors of 
  164. Fractint-for-DOS includes: 
  165.  
  166.  ------------------  Primary Authors (this changes over time)  -----------------
  167.  Bert Tyler           CompuServe (CIS) ID: [73477,433]
  168.  Timothy Wegner       CIS ID: [71320,675]   Internet: twegner@mwunix.mitre.org
  169.  Mark Peterson          CIS ID: [70441,3353]
  170.  Pieter Branderhorst  CIS ID: [72611,2257]
  171.                  ---------  Contributing Authors ----------
  172.  Michael Abrash   360x480x256, 320x400x256 VGA video modes
  173.  Joseph Albrecht  Tandy video, CGA video speedup
  174.  Kevin Allen      Finite attractor and bifurcation engine
  175.  Steve Bennett      restore-from-disk logic
  176.  Rob Beyer      [71021,2074] Barnsley IFS, Lorenz fractals
  177.  Mike Burkey      376x564x256, 400x564x256, and 832x612x256 VGA video modes
  178.  John Bridges      [75300,2137] superVGA support, 360x480x256 mode
  179.  Brian Corbino      [71611,702] Tandy 1000 640x200x16 video mode
  180.  Lee Crocker      [73407,2030] Fast Newton, Inversion, Decomposition..
  181.  Monte Davis      [71450,3542] Documentation
  182.  Chuck Ebbert     [76306,1226] cmprsd & sqrt logmap, fpu speedups
  183.  Richard Finegold [76701,153] 8/16/../256-Way Decomposition option
  184.  Frank Fussenegger Mandelbrot speedups
  185.  Mike Gelvin      [73337,520] Mandelbrot speedups
  186.  Lawrence Gozum   [73437,2372] Tseng 640x400x256 Video Mode
  187.  David Guenther   [70531,3525] Boundary Tracing algorithm
  188.  Norman Hills      [71621,1352] Ranges option
  189.  Richard Hughes   [70461,3272] "inside=", "outside=" coloring options
  190.  Mike Kaufman      [kaufman@eecs.nwu.edu] mouse support, other features
  191.  Wesley Loewer      fast floating-point Mandelbrot/Julia logic
  192.  Adrian Mariano   [adrian@u.washington.edu] Diffusion & L-Systems
  193.  Charles Marslett [75300,1636] VESA video and IIT math chip support
  194.  Joe McLain      [75066,1257] TARGA Support, color-map files
  195.  Bob Montgomery   [73357,3140] (Author of VPIC) Fast text I/O routines
  196.  Bret Mulvey      plasma clouds
  197.  Roy Murphy      [76376,721] Lyapunov Fractals
  198.  Ethan Nagel      [70022,2552] Palette editor, integrated help/doc system
  199.  Jonathan Osuch   [73277,1432] IIT detect
  200.  Marc Reinig      [72410,77] Lots of 3D options
  201.  Kyle Powell      [76704,12] 8514/A Support
  202.  Matt Saucier      [72371,3101] Printer Support
  203.  Herb Savage      [71640,455] 'inside=bof60', 'inside=bof61' options
  204.  Lee Skinner      Tetrate, Spider, Mandelglass fractal types and more
  205.  Dean Souleles      [75115,1671] Hercules Support
  206.  Kurt Sowa      [73467,2013] Color Printer Support
  207.  Hugh Steele      cyclerange feature
  208.  Chris Taylor     Floating&Fixed-point algorithm speedups, Tesseral Option
  209.  Scott Taylor      [72401,410] (DGWM18A) PostScript, Kam Torus, many fn types.
  210.  Bill Townsend      Mandelbrot Speedups
  211.  Paul Varner      [73237,441] Extended Memory support for Disk Video
  212.  Dave Warker      Integer Mandelbrot Fractals concept
  213.  Phil Wilson      [76247,3145] Distance Estimator, Bifurcation fractals
  214.  Nicholas Wilt      Lsystem speedups
  215.  Richard Wilton   Tweaked VGA Video modes
  216.           ...
  217.  Byte Magazine      Tweaked VGA Modes
  218.  MS-Kermit      Keyboard Routines
  219.  PC Magazine      Sound Routines
  220.  PC Tech Journal  CPU, FPU Detectors
  221.  
  222.  
  223. ΓòÉΓòÉΓòÉ 3.2. Distribution Policy ΓòÉΓòÉΓòÉ
  224.  
  225. Fractint is freeware. The copyright is retained by the Stone Soup Group. 
  226.  
  227. Conditions on use: Fractint may be freely copied and distributed but may not be 
  228. sold. It may be used personally or in a business - if you can do your job 
  229. better by using Fractint, or use images from it, that's great! It may be given 
  230. away with commercial products under the following conditions: 
  231.  
  232. o It must be clearly stated that Fractint does not belong to the vendor and is 
  233.   included as a free give-away. 
  234. o It must be a complete unmodified release of Fractint, with documentation, 
  235.   unless other arrangements are made with the Stone Soup Group. 
  236.  
  237. There is no warranty of Fractint's suitability for any purpose, nor any 
  238. acceptance of liability, express or implied. 
  239.  
  240. Source code for Fractint is also freely available. See the FRACTSRC.DOC file 
  241. included with it for conditions on use. (In most cases we just want credit.) 
  242.  
  243. Contribution policy: Don't want money. Got money. Want admiration. 
  244.  
  245. **** Warning **** Warning **** Warning ****
  246. No Warranties are either Expressed or Implied!
  247. **** Warning **** Warning **** Warning ****
  248.  
  249. So, that's it.  Please let me know what you think. I will be checking the 
  250. COMART forum on CompuServe periodically. 
  251.  
  252.  
  253. ΓòÉΓòÉΓòÉ 3.3. Contacting the Author ΓòÉΓòÉΓòÉ
  254.  
  255. You may contact me as follows: 
  256.  
  257.  Donald P. Egen
  258.  409 Cameron Circle, Apt. 1204
  259.  Chattanooga, TN  37402
  260.  CIS 73507,3143
  261.  
  262.  
  263. ΓòÉΓòÉΓòÉ 4. The Fractal Formulas ΓòÉΓòÉΓòÉ
  264.  
  265. These panels give details of the fractal formulas and parameters. Select them 
  266. from the fractal descriptions or from the table of contents. 
  267.  
  268.  
  269. ΓòÉΓòÉΓòÉ 4.1. barnsleyj1 formula ΓòÉΓòÉΓòÉ
  270.  
  271. z(0) = pixel;
  272. z(n+1) = (z-1)*c if real(z) >= 0, else
  273. z(n+1) = (z+1)*modulus(c)/c
  274.  
  275. Two parameters: real and imaginary parts of c 
  276.  
  277. Select here for  details. 
  278.  
  279.  
  280. ΓòÉΓòÉΓòÉ 4.2. barnsleyj2 formula ΓòÉΓòÉΓòÉ
  281.  
  282. z(0) = pixel;
  283. if real(z(n)) * imag(c) + real(c) * imag(z((n)) >= 0
  284.    z(n+1) = (z(n)-1)*c
  285. else
  286.    z(n+1) = (z(n)+1)*c
  287.  
  288. Two parameters: real and imaginary parts of c 
  289.  
  290. Select here for  details. 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 4.3. barnsleyj3 formula ΓòÉΓòÉΓòÉ
  294.  
  295. z(0) = pixel;
  296. if real(z(n) > 0 then z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1)
  297.      + i * (2*real(z((n)) * imag(z((n))) else
  298. z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1 + real(c) * real(z(n))
  299.      + i * (2*real(z((n)) * imag(z((n)) + imag(c) * real(z(n))
  300.  
  301. Two parameters: real and imaginary parts of c. 
  302.  
  303. Select here for  details. 
  304.  
  305.  
  306. ΓòÉΓòÉΓòÉ 4.4. barnsleym1 formula ΓòÉΓòÉΓòÉ
  307.  
  308. z(0) = c = pixel;
  309. if real(z) >= 0 then
  310.     z(n+1) = (z-1)*c
  311. else
  312.     z(n+1) = (z+1)*modulus(c)/c.
  313.  
  314. Parameters are perturbations of z(0) 
  315.  
  316. Select here for  details. 
  317.  
  318.  
  319. ΓòÉΓòÉΓòÉ 4.5. barnsleym2 formula ΓòÉΓòÉΓòÉ
  320.  
  321. z(0) = c = pixel;
  322. if real(z)*imag(c) + real(c)*imag(z) >= 0
  323.     z(n+1) = (z-1)*c
  324. else
  325.     z(n+1) = (z+1)*c
  326.  
  327. Parameters are perturbations of z(0) 
  328.  
  329. Select here for  details. 
  330.  
  331.  
  332. ΓòÉΓòÉΓòÉ 4.6. barnsleym3 formula ΓòÉΓòÉΓòÉ
  333.  
  334. z(0) = c = pixel;
  335. if real(z(n) > 0 then z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1)
  336.    + i * (2*real(z((n)) * imag(z((n))) else
  337. z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1 + real(c) * real(z(n))
  338.    + i * (2*real(z((n)) * imag(z((n)) + imag(c) * real(z(n))
  339.  
  340. Parameters are pertubations of z(0) 
  341.  
  342. Select here for  details. 
  343.  
  344.  
  345. ΓòÉΓòÉΓòÉ 4.7. bifurcation formula ΓòÉΓòÉΓòÉ
  346.  
  347. Pictorial representation of a population growth model. 
  348.  
  349. Let P = new population, p = oldpopulation, r = growth rate 
  350.  
  351. The model is: 
  352.  
  353. P = p +  r*p*(1-p).
  354.  
  355. No parameters. 
  356.  
  357. Select here for  details. 
  358.  
  359.  
  360. ΓòÉΓòÉΓòÉ 4.8. bif+sinpi formula ΓòÉΓòÉΓòÉ
  361.  
  362. Bifurcation variation: model is: 
  363.  
  364. P = p + r*sin(PI*p).
  365.  
  366. No parameters. 
  367.  
  368. Select here for  details. 
  369.  
  370.  
  371. ΓòÉΓòÉΓòÉ 4.9. bif=sinpi formula ΓòÉΓòÉΓòÉ
  372.  
  373. Bifurcation variation: model is: 
  374.  
  375. P = r*sin(PI*p).
  376.  
  377. No parameters. 
  378.  
  379. Select here for  details. 
  380.  
  381.  
  382. ΓòÉΓòÉΓòÉ 4.10. biflambda formula ΓòÉΓòÉΓòÉ
  383.  
  384. Bifurcation variation: model is: 
  385.  
  386. P = r*p*(1-p)P.
  387.  
  388. No parameters. 
  389.  
  390. Select here for  details. 
  391.  
  392.  
  393. ΓòÉΓòÉΓòÉ 4.11. bifstewart formula ΓòÉΓòÉΓòÉ
  394.  
  395. Bifurcation variation: model is: P = (r*p*p) - 1. 
  396.  
  397. Two parameters: Filter Cycles and Seed Population. 
  398.  
  399. Select here for  details. 
  400.  
  401.  
  402. ΓòÉΓòÉΓòÉ 4.12. Circle formula ΓòÉΓòÉΓòÉ
  403.  
  404. Circle pattern by John Connett 
  405.  
  406. x + iy = pixel
  407. z = a*(x^2 + y^2)
  408. c = integer part of z
  409. color = c modulo(number of colors)
  410.  
  411. Select here for  details. 
  412.  
  413.  
  414. ΓòÉΓòÉΓòÉ 4.13. cmplxmarksjul formula ΓòÉΓòÉΓòÉ
  415.  
  416. A generalization of the marksjulia fractal. 
  417.  
  418. z(0) = pixel;
  419. z(n+1) = (c^exp)*z(n) + c.
  420.  
  421. Four parameters: real and imaginary parts of c and exp. 
  422.  
  423. Select here for  details. 
  424.  
  425.  
  426. ΓòÉΓòÉΓòÉ 4.14. cmplxmarksmand formula ΓòÉΓòÉΓòÉ
  427.  
  428. A generalization of the marksmandel fractal. 
  429.  
  430. z(0) = c = pixel;
  431. z(n+1) = (c^exp)*z(n) + c.
  432.  
  433. Four parameters: real and imaginary parts of perturbation of z(0) and exp. 
  434.  
  435. Select here for  details. 
  436.  
  437.  
  438. ΓòÉΓòÉΓòÉ 4.15. complexnewton and complexbasin formula ΓòÉΓòÉΓòÉ
  439.  
  440. Newton fractal types extended to complex degrees. Complexnewton colors pixels 
  441. according to the number of iterations required to escape to a root. 
  442. Complexbasin colors pixels according to which root captures the orbit. The 
  443. equation is based on the newton formula for solving the equation z^p = r 
  444.  
  445. z(0) = pixel;
  446. z(n+1) = ((p - 1) * z(n)^p + r)/(p * z(n)^(p - 1)).
  447.  
  448. Four parameters: real & imaginary parts of degree p and root r 
  449.  
  450. Select here for  details. 
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ 4.16. diffusion formula ΓòÉΓòÉΓòÉ
  454.  
  455. Diffusion Limited Aggregation.  Randomly moving points accumulate. 
  456.  
  457. One parameter: border width (default 10) 
  458.  
  459. Select here for  details. 
  460.  
  461.  
  462. ΓòÉΓòÉΓòÉ 4.17. fn+fn(pix) formula ΓòÉΓòÉΓòÉ
  463.  
  464. c = z(0) = pixel;
  465. z(n+1) = fn1(z) + p*fn2(c)
  466.  
  467. Six parameters: real and imaginary parts of the perturbation of z(0) and factor 
  468. p, and the functions fn1, and fn2. 
  469.  
  470. Select here for  details. 
  471.  
  472.  
  473. ΓòÉΓòÉΓòÉ 4.18. fn(z*z*) formula ΓòÉΓòÉΓòÉ
  474.  
  475. z(0) = pixel;
  476. z(n+1) = fn(z(n)*z(n))
  477.  
  478. One parameter: the function fn. 
  479.  
  480. Select here for  details. 
  481.  
  482.  
  483. ΓòÉΓòÉΓòÉ 4.19. fn*fn formula ΓòÉΓòÉΓòÉ
  484.  
  485. z(0) = pixel; z(n+1) = fn1(n)*fn2(n)
  486.  
  487. Two parameters: the functions fn1 and fn2. 
  488.  
  489. Select here for  details. 
  490.  
  491.  
  492. ΓòÉΓòÉΓòÉ 4.20. fn*z+z formula ΓòÉΓòÉΓòÉ
  493.  
  494. z(0) = pixel; z(n+1) = p1*fn(z(n))*z(n) + p2*z(n)
  495.  
  496. Six parameters: the real and imaginary components of p1 and p2, and the 
  497. functions fn1 and fn2. 
  498.  
  499. Select here for  details. 
  500.  
  501.  
  502. ΓòÉΓòÉΓòÉ 4.21. fn+fn ΓòÉΓòÉΓòÉ
  503.  
  504. z(0) = pixel;
  505. z(n+1) = p1*fn1(z(n))+p2*fn2(z(n))
  506.  
  507. Six parameters: The real and imaginary components of p1 and p2, and the 
  508. functions fn1 and fn2. 
  509.  
  510. Select here for  details. 
  511.  
  512.  
  513. ΓòÉΓòÉΓòÉ 4.22. gingerbread man formula ΓòÉΓòÉΓòÉ
  514.  
  515. Orbit in two dimensions defined by: 
  516.  
  517. x(n+1) = 1 - y(n) + |x(n)|
  518. y(n+1) = x(n)
  519.  
  520. Two parameters: initial values of x(0) and y(0). 
  521.  
  522. Select here for  details. 
  523.  
  524.  
  525. ΓòÉΓòÉΓòÉ 4.23. henon ΓòÉΓòÉΓòÉ
  526.  
  527. Orbit in two dimensions defined by: 
  528.  
  529. x(n+1) = 1 + y(n) - a*x(n)*x(n)
  530. y(n+1) = b*x(n)
  531.  
  532. Two parameters: a and b 
  533.  
  534. Select here for  details. 
  535.  
  536.  
  537. ΓòÉΓòÉΓòÉ 4.24. Hopalong formula ΓòÉΓòÉΓòÉ
  538.  
  539. Hopalong attractor by Barry Martin - orbit in two dimensions. 
  540.  
  541. z(0) = y(0) = 0;
  542. x(n+1) = y(n) - sign(x(n))*sqrt(abs(b*x(n)-c))
  543. y(n+1) = a - x(n)
  544.  
  545. Parameters are a, b, and c. 
  546.  
  547. Select here for  details. 
  548.  
  549.  
  550. ΓòÉΓòÉΓòÉ 4.25. julfn+exp formula ΓòÉΓòÉΓòÉ
  551.  
  552. A generalized Clifford Pickover fractal. 
  553.  
  554. z(0) = pixel;
  555. z(n+1) = fn(z(n)) + e^z(n) + c.
  556.  
  557. Three parameters: real & imaginary parts of c, and fn 
  558.  
  559. Select here for  details. 
  560.  
  561.  
  562. ΓòÉΓòÉΓòÉ 4.26. julfn+zsqrd formula ΓòÉΓòÉΓòÉ
  563.  
  564. z(0) = pixel;
  565. z(n+1) = fn(z(n)) + z(n)^2 + c
  566.  
  567. Three parameters: real & imaginary parts of c, and fn 
  568.  
  569. Select here for  details. 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 4.27. julia formula ΓòÉΓòÉΓòÉ
  573.  
  574. Classic Julia set fractal. 
  575.  
  576. z(0) = pixel; z(n+1) = z(n)^2 + c.
  577.  
  578. Two parameters: real and imaginary parts of c. 
  579.  
  580. Select here for  details. 
  581.  
  582.  
  583. ΓòÉΓòÉΓòÉ 4.28. julia4 formula ΓòÉΓòÉΓòÉ
  584.  
  585. Fourth-power Julia set fractals, a special case of julzpower kept for speed. 
  586.  
  587. z(0) = pixel;
  588. z(n+1) = z(n)^4 + c.
  589.  
  590. Two parameters: real and imaginary parts of c. 
  591.  
  592. Select here for  details. 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 4.29. julzpower formula ΓòÉΓòÉΓòÉ
  596.  
  597. z(0) = pixel;
  598. z(n+1) = z(n)^m + c.
  599.  
  600. Three parameters: real & imaginary parts of c, exponent m 
  601.  
  602. Select here for  details. 
  603.  
  604.  
  605. ΓòÉΓòÉΓòÉ 4.30. julzzpwr formula ΓòÉΓòÉΓòÉ
  606.  
  607. z(0) = pixel;
  608. z(n+1) = z(n)^z(n) + z(n)^m + c.
  609.  
  610. Three parameters: real & imaginary parts of c, exponent m 
  611.  
  612. Select here for  details. 
  613.  
  614.  
  615. ΓòÉΓòÉΓòÉ 4.31. kamtorus, kamtorus3d formulas ΓòÉΓòÉΓòÉ
  616.  
  617. Series of orbits superimposed. 3d version has 'orbit' the z dimension. 
  618.  
  619. x(0) = y(0) = orbit/3;
  620. x(n+1) = x(n)*cos(a) + (x(n)*x(n)-y(n))*sin(a)
  621. y(n+1) = x(n)*sin(a) - (x(n)*x(n)-y(n))*cos(a)
  622.  
  623. After each orbit, 'orbit' is incremented by a step size. 
  624.  
  625. Parameters: a, step size, stop value for 'orbit', and points per orbit. 
  626.  
  627. Select here for  details. 
  628.  
  629.  
  630. ΓòÉΓòÉΓòÉ 4.32. lambda formula ΓòÉΓòÉΓòÉ
  631.  
  632. Classic Lambda fractal. 'Julia' variant of Mandellambda. 
  633.  
  634. z(0) = pixel;
  635. z(n+1) = lambda*z(n)*(1 - z(n)^2).
  636.  
  637. Two parameters: real and imaginary parts of lambda. 
  638.  
  639. Select here for  details. 
  640.  
  641.  
  642. ΓòÉΓòÉΓòÉ 4.33. lambdafn formula ΓòÉΓòÉΓòÉ
  643.  
  644. z(0) = pixel;
  645. z(n+1) = lambda * fn(z(n)).
  646.  
  647. Three parameters: real, imag portions of lambda, and fn 
  648.  
  649. Select here for  details. 
  650.  
  651.  
  652. ΓòÉΓòÉΓòÉ 4.34. lorenz, lorenz3d forumla ΓòÉΓòÉΓòÉ
  653.  
  654. Lorenz attractor - orbit in three dimensions. In 2d the x and y components are 
  655. projected to form the image. 
  656.  
  657. z(0) = y(0) = z(0) = 1;
  658. x(n+1) = x(n) + (-a*x(n)*dt) + (   a*y(n)*dt)
  659. y(n+1) = y(n) + ( b*x(n)*dt) - (     y(n)*dt) - (z(n)*x(n)*dt)
  660. z(n+1) = z(n) + (-c*z(n)*dt) + (x(n)*y(n)*dt)
  661.  
  662. Parameters are dt, a, b, and c. 
  663.  
  664. Select here for  details. 
  665.  
  666.  
  667. ΓòÉΓòÉΓòÉ 4.35. lorenz3d1 formula ΓòÉΓòÉΓòÉ
  668.  
  669. Lorenz one lobe attractor - orbit in three dimensions. 
  670.  
  671. The original formulas were developed by Rick Miranda and Emily Stone. 
  672.  
  673. z(0) = y(0) = z(0) = 1; norm = sqrt(x(n)^2 + y(n)^2)
  674. x(n+1) = x(n) + (-a*dt-dt)*x(n) + (a*dt-b*dt)*y(n)
  675.    + (dt-a*dt)*norm + y(n)*dt*z(n)
  676. y(n+1) = y(n) + (b*dt-a*dt)*x(n) - (a*dt+dt)*y(n)
  677.    + (b*dt+a*dt)*norm - x(n)*dt*z(n) - norm*z(n)*dt
  678. z(n+1) = z(n) +(y(n)*dt/2) - c*dt*z(n)
  679.  
  680. Parameters are dt, a, b, and c. 
  681.  
  682. Select here for  details. 
  683.  
  684.  
  685. ΓòÉΓòÉΓòÉ 4.36. lorenz3d3 ΓòÉΓòÉΓòÉ
  686.  
  687. Lorenz three lobe attractor - orbit in three dimensions. 
  688.  
  689. The original formulas were developed by Rick Miranda and Emily Stone. 
  690.  
  691. z(0) = y(0) = z(0) = 1; norm = sqrt(x(n)^2 + y(n)^2)
  692. x(n+1) = x(n) +(-(a*dt+dt)*x(n) + (a*dt-b*dt+z(n)*dt)*y(n))/3
  693.     + ((dt-a*dt)*(x(n)^2-y(n)^2)
  694.     + 2*(b*dt+a*dt-z(n)*dt)*x(n)*y(n))/(3*norm)
  695. y(n+1) = y(n) +((b*dt-a*dt-z(n)*dt)*x(n) - (a*dt+dt)*y(n))/3
  696.     + (2*(a*dt-dt)*x(n)*y(n)
  697.     + (b*dt+a*dt-z(n)*dt)*(x(n)^2-y(n)^2))/(3*norm)
  698. z(n+1) = z(n) +(3*x(n)*dt*x(n)*y(n)-y(n)*dt*y(n)^2)/2 - c*dt*z(n)
  699.  
  700. Parameters are dt, a, b, and c. 
  701.  
  702. Select here for  details. 
  703.  
  704.  
  705. ΓòÉΓòÉΓòÉ 4.37. lorenz3d4 ΓòÉΓòÉΓòÉ
  706.  
  707. Lorenz four lobe attractor - orbit in three dimensions. 
  708.  
  709. The original formulas were developed by Rick Miranda and Emily Stone. 
  710.  
  711. z(0) = y(0) = z(0) = 1;
  712. x(n+1) = x(n) +(-a*dt*x(n)^3
  713.    + (2*a*dt+b*dt-z(n)*dt)*x(n)^2*y(n) + (a*dt-2*dt)*x(n)*y(n)^2
  714.    + (z(n)*dt-b*dt)*y(n)^3) / (2 * (x(n)^2+y(n)^2))
  715. y(n+1) = y(n) +((b*dt-z(n)*dt)*x(n)^3 + (a*dt-2*dt)*x(n)^2*y(n)
  716.    + (-2*a*dt-b*dt+z(n)*dt)*x(n)*y(n)^2
  717.    - a*dt*y(n)^3) / (2 * (x(n)^2+y(n)^2))
  718. z(n+1) = z(n) +(2*x(n)*dt*x(n)^2*y(n) - 2*x(n)*dt*y(n)^3 - c*dt*z(n))
  719.  
  720. Parameters are dt, a, b, and c. 
  721.  
  722. Select here for  details. 
  723.  
  724.  
  725. ΓòÉΓòÉΓòÉ 4.38. magnetj1 formula ΓòÉΓòÉΓòÉ
  726.  
  727. z(0) = pixel;
  728.           / z(n)^2 + (c-1) \\
  729. z(n+1) = | ---------------- | ^ 2
  730.           \ 2*z(n) + (c-2) /
  731.  
  732. Parameters: the real and imaginary parts of c 
  733.  
  734. Select here for  details. 
  735.  
  736.  
  737. ΓòÉΓòÉΓòÉ 4.39. magnet1m formula ΓòÉΓòÉΓòÉ
  738.  
  739. z(0) = 0; c = pixel;
  740.           / z(n)^2 + (c-1) \\
  741. z(n+1) = | ---------------- | ^ 2
  742.           \ 2*z(n) + (c-2) /
  743.  
  744. Parameters: the real & imaginary parts of perturbation of z(0) 
  745.  
  746. Select here for  details. 
  747.  
  748.  
  749. ΓòÉΓòÉΓòÉ 4.40. magnet2j formula ΓòÉΓòÉΓòÉ
  750.  
  751. z(0) = pixel;
  752.           / z(n)^3 + 3*(C-1)*z(n) + (C-1)*(C-2)         \\
  753. z(n+1) = |  -------------------------------------------- | ^ 2
  754.           \ 3*(z(n)^2) + 3*(C-2)*z(n) + (C-1)*(C-2) - 1 /
  755.  
  756. Parameters: the real and imaginary parts of c 
  757.  
  758. Select here for  details. 
  759.  
  760.  
  761. ΓòÉΓòÉΓòÉ 4.41. magnet2m formula ΓòÉΓòÉΓòÉ
  762.  
  763. z(0) = 0; c = pixel;
  764.           / z(n)^3 + 3*(C-1)*z(n) + (C-1)*(C-2)         \\
  765. z(n+1) = |  -------------------------------------------- | ^ 2
  766.           \ 3*(z(n)^2) + 3*(C-2)*z(n) + (C-1)*(C-2) - 1 /
  767.  
  768. Parameters: the real and imaginary parts of perturbation of z(0) 
  769.  
  770. Select here for  details. 
  771.  
  772.  
  773. ΓòÉΓòÉΓòÉ 4.42. mandel formula ΓòÉΓòÉΓòÉ
  774.  
  775. Classic Mandelbrot set fractal. 
  776.  
  777. z(0) = c = pixel;
  778. z(n+1) = z(n)^2 + c.
  779.  
  780. Two parameters: real & imaginary perturbations of z(0) 
  781.  
  782. Select here for  details. 
  783.  
  784.  
  785. ΓòÉΓòÉΓòÉ 4.43. mandel4 formula ΓòÉΓòÉΓòÉ
  786.  
  787. Special case of mandelzpower kept for speed. 
  788.  
  789. z(0) = c = pixel;
  790. z(n+1) = z(n)^4 + c.
  791.  
  792. Parameters: real & imaginary perturbations of z(0) 
  793.  
  794. Select here for  details. 
  795.  
  796.  
  797. ΓòÉΓòÉΓòÉ 4.44. mandelfn formula ΓòÉΓòÉΓòÉ
  798.  
  799. z(0) = c = pixel;
  800. z(n+1) = c*fn(z(n)).
  801.  
  802. Parameters: real & imaginary perturbations of z(0), and fn 
  803.  
  804. Select here for  details. 
  805.  
  806.  
  807. ΓòÉΓòÉΓòÉ 4.45. Martin formula ΓòÉΓòÉΓòÉ
  808.  
  809. Attractor fractal by Barry Martin - orbit in two dimensions. 
  810.  
  811. z(0) = y(0) = 0;
  812. x(n+1) = y(n) - sin(x(n))
  813. y(n+1) = a - x(n)
  814.  
  815. Parameter is a (try a value near pi) 
  816.  
  817. Select here for  details. 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 4.46. mandellambda formula ΓòÉΓòÉΓòÉ
  821.  
  822. z(0) = .5; lambda = pixel;
  823. z(n+1) = lambda*z(n)*(1 - z(n)^2).
  824.  
  825. Parameters: real & imaginary perturbations of z(0) 
  826.  
  827. Select here for  details. 
  828.  
  829.  
  830. ΓòÉΓòÉΓòÉ 4.47. manfn+exp formula ΓòÉΓòÉΓòÉ
  831.  
  832. 'Mandelbrot-Equivalent' for the julfn+exp fractal. 
  833.  
  834. z(0) = c = pixel;
  835. z(n+1) = fn(z(n)) + e^z(n) + C.
  836.  
  837. Parameters: real & imaginary perturbations of z(0), and fn 
  838.  
  839. Select here for  details. 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 4.48. manfn+zsqrd formula ΓòÉΓòÉΓòÉ
  843.  
  844. 'Mandelbrot-Equivalent' for the Julfn+zsqrd fractal. 
  845.  
  846. z(0) = c = pixel;
  847. z(n+1) = fn(z(n)) + z(n)^2 + c.
  848.  
  849. Parameters: real & imaginary perturbations of z(0), and fn 
  850.  
  851. Select here for  details. 
  852.  
  853.  
  854. ΓòÉΓòÉΓòÉ 4.49. manowar formula ΓòÉΓòÉΓòÉ
  855.  
  856. c = z1(0) = z(0) = pixel;
  857. z(n+1) = z(n)^2 + z1(n) + c;
  858. z1(n+1) = z(n);
  859.  
  860. Parameters: real & imaginary perturbations of z(0) 
  861.  
  862. Select here for  details. 
  863.  
  864.  
  865. ΓòÉΓòÉΓòÉ 4.50. manowar julia formula ΓòÉΓòÉΓòÉ
  866.  
  867. z1(0) = z(0) = pixel;
  868. z(n+1) = z(n)^2 + z1(n) + c;
  869. z1(n+1) = z(n);
  870.  
  871. Parameters: real & imaginary perturbations of z(0) 
  872.  
  873. Select here for  details. 
  874.  
  875.  
  876. ΓòÉΓòÉΓòÉ 4.51. manzpower formula ΓòÉΓòÉΓòÉ
  877.  
  878. 'Mandelbrot-Equivalent' for julzpower. 
  879.  
  880. z(0) = c = pixel;
  881. z(n+1) = z(n)^exp + c; try exp = e = 2.71828...
  882.  
  883. Parameters: real & imaginary perturbations of z(0), real & imaginary parts of 
  884. exponent exp. 
  885.  
  886. Select here for  details. 
  887.  
  888.  
  889. ΓòÉΓòÉΓòÉ 4.52. manzzpwr formula ΓòÉΓòÉΓòÉ
  890.  
  891. 'Mandelbrot-Equivalent' for the julzzpwr fractal. 
  892.  
  893. z(0) = c = pixel
  894. z(n+1) = z(n)^z(n) + z(n)^exp + C.
  895.  
  896. Parameters: real & imaginary perturbations of z(0), and exponent 
  897.  
  898. Select here for  details. 
  899.  
  900.  
  901. ΓòÉΓòÉΓòÉ 4.53. marksjulia formula ΓòÉΓòÉΓòÉ
  902.  
  903. A variant of the julia-lambda fractal. 
  904.  
  905. z(0) = pixel;
  906. z(n+1) = (c^exp)*z(n) + c.
  907.  
  908. Parameters: real & imaginary parts of c, and exponent 
  909.  
  910. Select here for  details. 
  911.  
  912.  
  913. ΓòÉΓòÉΓòÉ 4.54. marksmandel formula ΓòÉΓòÉΓòÉ
  914.  
  915. A variant of the mandel-lambda fractal. 
  916.  
  917. z(0) = c = pixel;
  918. z(n+1) = (c^exp)*z(n) + c.
  919.  
  920. Parameters: real & imaginary perturbations of z(0), and exponent 
  921.  
  922. Select here for  details. 
  923.  
  924.  
  925. ΓòÉΓòÉΓòÉ 4.55. marksmandelpwr formula ΓòÉΓòÉΓòÉ
  926.  
  927. The marksmandelpwr formula type generalized (it previously had fn=sqr hard 
  928. coded). 
  929.  
  930. z(0) = pixel, c = z(0) ^ (z(0) - 1):
  931. z(n+1) = c * fn(z(n)) + pixel,
  932.  
  933. Parameters: real and imaginary pertubations of z(0), and fn 
  934.  
  935. Select here for  details. 
  936.  
  937.  
  938. ΓòÉΓòÉΓòÉ 4.56. newtbasin formula ΓòÉΓòÉΓòÉ
  939.  
  940. Based on the Newton formula for finding the roots of z^p - 1. Pixels are 
  941. colored according to which root captures the orbit. 
  942.  
  943. z(0) = pixel;
  944. z(n+1) = ((p-1)*z(n)^p + 1)/(p*z(n)^(p - 1)).
  945.  
  946. Two parameters: the polynomial degree p, and a flag to turn on color stripes to 
  947. show alternate iterations. 
  948.  
  949. Select here for  details. 
  950.  
  951.  
  952. ΓòÉΓòÉΓòÉ 4.57. newton formula ΓòÉΓòÉΓòÉ
  953.  
  954. Based on the Newton formula for finding the roots of z^p - 1. Pixels are 
  955. colored according to the iteration when the orbit is captured by a root. 
  956.  
  957. z(0) = pixel;
  958. z(n+1) = ((p-1)*z(n)^p + 1)/(p*z(n)^(p - 1)).
  959.  
  960. One parameter: the polynomial degree p. 
  961.  
  962. Select here for  details. 
  963.  
  964.  
  965. ΓòÉΓòÉΓòÉ 4.58. pickover formula ΓòÉΓòÉΓòÉ
  966.  
  967. Orbit in three dimensions defined by: 
  968.  
  969. x(n+1) = sin(a*y(n)) - z(n)*cos(b*x(n))
  970. y(n+1) = z(n)*sin(c*x(n)) - cos(d*y(n))
  971. z(n+1) = sin(x(n))
  972.  
  973. Parameters: a, b, c, and d. 
  974.  
  975. Select here for  details. 
  976.  
  977.  
  978. ΓòÉΓòÉΓòÉ 4.59. plasma formula ΓòÉΓòÉΓòÉ
  979.  
  980. Random, cloud-like formations.  Requires 4 or more colors. A recursive 
  981. algorithm repeatedly subdivides the screen and colors pixels according to an 
  982. average of surrounding pixels and a random color, less random as the grid size 
  983. decreases. 
  984.  
  985. One parameter: 'graininess' (.5 to 50, default = 2). 
  986.  
  987. Select here for  details. 
  988.  
  989.  
  990. ΓòÉΓòÉΓòÉ 4.60. popcorn formula ΓòÉΓòÉΓòÉ
  991.  
  992. The orbits in two dimensions defined by: 
  993.  
  994. x(0) = xpixel, y(0) = ypixel;
  995. x(n+1) = x(n) - h*sin(y(n) + tan(3*y(n))
  996. y(n+1) = y(n) - h*sin(x(n) + tan(3*x(n))
  997.  
  998. are plotted for each screen pixel and superimposed. 
  999.  
  1000. One parameter: step size h. 
  1001.  
  1002. Select here for  details. 
  1003.  
  1004.  
  1005. ΓòÉΓòÉΓòÉ 4.61. popcornjul formula ΓòÉΓòÉΓòÉ
  1006.  
  1007. Conventional Julia using the popcorn formula: 
  1008.  
  1009. x(0) = xpixel, y(0) = ypixel;
  1010. x(n+1) = x(n) - h*sin(y(n) + tan(3*y(n))
  1011. y(n+1) = y(n) - h*sin(x(n) + tan(3*x(n))
  1012.  
  1013. One parameter: step size h. 
  1014.  
  1015. Select here for  details. 
  1016.  
  1017.  
  1018. ΓòÉΓòÉΓòÉ 4.62. rossler3D formula ΓòÉΓòÉΓòÉ
  1019.  
  1020. Orbit in three dimensions defined by: 
  1021.  
  1022. x(0) = y(0) = z(0) = 1;
  1023. x(n+1) = x(n) - y(n)*dt -   z(n)*dt
  1024. y(n+1) = y(n) + x(n)*dt + a*y(n)*dt
  1025. z(n+1) = z(n) + b*dt + x(n)*z(n)*dt - c*z(n)*dt
  1026.  
  1027. Parameters are dt, a, b, and c. 
  1028.  
  1029. Select here for  details. 
  1030.  
  1031.  
  1032. ΓòÉΓòÉΓòÉ 4.63. sierpinski formula ΓòÉΓòÉΓòÉ
  1033.  
  1034. Sierpinski gasket - Julia set producing a 'Swiss cheese triangle' 
  1035.  
  1036. z(n+1) = (2*x,2*y-1) if y > .5;
  1037.     else (2*x-1,2*y) if x > .5;
  1038.     else (2*x,2*y)
  1039.  
  1040. No parameters. 
  1041.  
  1042. Select here for  details. 
  1043.  
  1044.  
  1045. ΓòÉΓòÉΓòÉ 4.64. spider formula ΓòÉΓòÉΓòÉ
  1046.  
  1047. c(0) = z(0) = pixel;
  1048. z(n+1) = z(n)^2 + c(n);
  1049. c(n+1) = c(n)/2 + z(n+1)
  1050.  
  1051. Parameters: real & imaginary perturbation of z(0) 
  1052.  
  1053. Select here for  details. 
  1054.  
  1055.  
  1056. ΓòÉΓòÉΓòÉ 4.65. sqr(1/fn) formula ΓòÉΓòÉΓòÉ
  1057.  
  1058. z(0) = pixel;
  1059. z(n+1) = (1/fn(z(n))^2
  1060.  
  1061. One parameter: the function fn. 
  1062.  
  1063. Select here for  details. 
  1064.  
  1065.  
  1066. ΓòÉΓòÉΓòÉ 4.66. sqr(fn) formula ΓòÉΓòÉΓòÉ
  1067.  
  1068. z(0) = pixel;
  1069. z(n+1) = fn(z(n))^2
  1070.  
  1071. One parameter: the function fn. 
  1072.  
  1073. Select here for  details. 
  1074.  
  1075.  
  1076. ΓòÉΓòÉΓòÉ 4.67. test formula ΓòÉΓòÉΓòÉ
  1077.  
  1078. 'test' point letting us (and you!) easily add fractal types via the c module 
  1079. testpt.c.  Default set up is a mandelbrot fractal. 
  1080.  
  1081. Four parameters: user hooks (not used by default testpt.c). 
  1082.  
  1083. Select here for  details. 
  1084.  
  1085.  
  1086. ΓòÉΓòÉΓòÉ 4.68. tetrate formula ΓòÉΓòÉΓòÉ
  1087.  
  1088. z(0) = c = pixel;
  1089. z(n+1) = c^z(n)
  1090.  
  1091. Parameters: real & imaginary perturbation of z(0) 
  1092.  
  1093. Select here for  details. 
  1094.  
  1095.  
  1096. ΓòÉΓòÉΓòÉ 4.69. tim's error formula ΓòÉΓòÉΓòÉ
  1097.  
  1098. A serendipitous coding error in marksmandelpwr brings to life an ancient 
  1099. pterodactyl!  (Try setting fn to sqr.) 
  1100.  
  1101. z(0) = pixel, c = z(0) ^ (z(0) - 1):
  1102. tmp = fn(z(n))
  1103. real(tmp) = real(tmp) * real(c) - imag(tmp) * imag(c);
  1104. imag(tmp) = real(tmp) * imag(c) - imag(tmp) * real(c);
  1105. z(n+1) = tmp + pixel;
  1106.  
  1107. Parameters: real & imaginary pertubations of z(0) and function fn 
  1108.  
  1109. Select here for  details. 
  1110.  
  1111.  
  1112. ΓòÉΓòÉΓòÉ 4.70. unity formula. ΓòÉΓòÉΓòÉ
  1113.  
  1114. z(0) = pixel;
  1115. x = real(z(n)), y = imag(z(n))
  1116. One = x^2 + y^2;
  1117. y = (2 - One) * x;
  1118. x = (2 - One) * y;
  1119. z(n+1) = x + i*y
  1120.  
  1121. No parameters. 
  1122.  
  1123. Select here for  details. 
  1124.  
  1125.  
  1126. ΓòÉΓòÉΓòÉ 5. Fractal Types ΓòÉΓòÉΓòÉ
  1127.  
  1128.  
  1129. Overview 
  1130.  
  1131. Fractint starts by default with the Mandelbrot set. You can change that by 
  1132. using the command-line argument "TYPE=" followed by one of the fractal type 
  1133. names, or by using the <T> command and selecting the type - if parameters are 
  1134. needed, you will be prompted for them. 
  1135.  
  1136. In the text that follows, due to the limitations of the ASCII character set, 
  1137. "a*b" means "a times b", and "a^b" means "a to the power b". 
  1138.  
  1139. Select a fractal type for details: 
  1140.  
  1141.  The Mandelbrot Set 
  1142.  
  1143.  Julia Sets 
  1144.  
  1145.  Newton domains of attraction 
  1146.  
  1147.  Newton 
  1148.  
  1149.  Complex Newton 
  1150.  
  1151.  Lambda Sets 
  1152.  
  1153.  Mandellambda Sets 
  1154.  
  1155.  Plasma Clouds 
  1156.  
  1157.  Lambdafn 
  1158.  
  1159.  Mandelfn 
  1160.  
  1161.  Barnsley Mandelbrot/Julia Sets 
  1162.  
  1163.  Barnsley IFS Fractals 
  1164.  
  1165.  Sierpinski Gasket 
  1166.  
  1167.  Quartic Mandelbrot/Julia 
  1168.  
  1169.  Distance Estimator 
  1170.  
  1171.  Pickover Mandelbrot/Julia Types 
  1172.  
  1173.  Pickover Popcorn 
  1174.  
  1175.  Peterson Variations 
  1176.  
  1177.  Unity 
  1178.  
  1179.  Scott Taylor / Lee Skinner Variations 
  1180.  
  1181.  Kam Torus 
  1182.  
  1183.  Bifurcation 
  1184.  
  1185.  Orbit Fractals 
  1186.  
  1187.  Lorenz Attractors 
  1188.  
  1189.  Rossler Attractors 
  1190.  
  1191.  Henon Attractors 
  1192.  
  1193.  Pickover Attractors 
  1194.  
  1195.  Gingerbreadman 
  1196.  
  1197.  Test 
  1198.  
  1199.  Formula 
  1200.  
  1201.  Julibrots 
  1202.  
  1203.  Diffusion Limited Aggregation 
  1204.  
  1205.  Magnetic Fractals 
  1206.  
  1207.  L-Systems 
  1208.  
  1209.  Lyapunov 
  1210.  
  1211.  Circle 
  1212.  
  1213.  Martin Attractors 
  1214.  
  1215.  
  1216. ΓòÉΓòÉΓòÉ 5.1. The Mandelbrot Set ΓòÉΓòÉΓòÉ
  1217.  
  1218.  
  1219. (type=mandel) 
  1220.  
  1221. This set is the classic: the only one implemented in many plotting programs, 
  1222. and the source of most of the printed fractal images published in recent years. 
  1223. Like most of the other types in Fractint, it is simply a graph: the x 
  1224. (horizontal) and y (vertical) coordinate axes represent ranges of two 
  1225. independent quantities, with various colors used to symbolize levels of a third 
  1226. quantity which depends on the first two. So far, so good: basic analytic 
  1227. geometry. 
  1228.  
  1229. Now things get a bit hairier. The x axis is ordinary, vanilla real numbers. The 
  1230. y axis is an imaginary number, i.e. a real number times i, where i is the 
  1231. square root of -1. Every point on the plane -- in this case, your PC's display 
  1232. screen -- represents a complex number of the form: 
  1233.  
  1234.   x-coordinate + i * y-coordinate
  1235.  
  1236. If your math training stopped before you got to imaginary and complex numbers, 
  1237. this is not the place to catch up. Suffice it to say that they are just as 
  1238. "real" as the numbers you count fingers with (they're used every day by 
  1239. electrical engineers) and they can undergo the same kinds of algebraic 
  1240. operations. 
  1241.  
  1242. OK, now pick any complex number -- any point on the complex plane -- and call 
  1243. it C, a constant. Pick another, this time one which can vary, and call it Z. 
  1244. Starting with Z=0 (i.e., at the origin, where the real and imaginary axes 
  1245. cross), calculate the value of the expression 
  1246.  
  1247.   Z^2 + C
  1248.  
  1249. Take the result, make it the new value of the variable Z, and calculate again. 
  1250. Take that result, make it Z, and do it again, and so on: in mathematical terms, 
  1251. iterate the function Z(n+1) = Z(n)^2 + C. For certain values of C, the result 
  1252. "levels off" after a while. For all others, it grows without limit. The 
  1253. Mandelbrot set you see at the start -- the solid- colored lake (blue by 
  1254. default), the blue circles sprouting from it, and indeed every point of that 
  1255. color -- is the set of all points C for which the value of Z is less than 2 
  1256. after 150 iterations (150 is the default setting, changeable via the <X> 
  1257. options screen or "maxiter=" parameter). All the surrounding "contours" of 
  1258. other colors represent points for which Z exceeds 2 after 149 iterations (the 
  1259. contour closest to the M-set itself), 148 iterations, (the next one out), and 
  1260. so on. 
  1261.  
  1262. We actually don't test for Z exceeding 2 - we test Z squared against 4 instead 
  1263. because it is easier.  This value (FOUR usually) is known as the "bailout" 
  1264. value for the calculation, because we stop iterating for the point when it is 
  1265. reached.  The bailout value can be changed on the <Z> options screen but the 
  1266. default is usually best. 
  1267.  
  1268. Some features of interest: 
  1269.  
  1270.  1. Use the <X> options screen to increase the maximum number of iterations. 
  1271.     Notice that the boundary of the M-set becomes more and more convoluted (the 
  1272.     technical terms are "wiggly," "squiggly," and "utterly bizarre") as the Z- 
  1273.     values for points that were still within the set after 150 iterations turn 
  1274.     out to exceed 2 after 200, 500, or 1200. In fact, it can be proven that the 
  1275.     true boundary is infinitely long: detail without limit. 
  1276.  
  1277.  2. Although there appear to be isolated "islands" of blue, zoom in -- that is, 
  1278.     plot for a smaller range of coordinates to show more detail -- and you'll 
  1279.     see that there are fine "causeways" of blue connecting them to the main 
  1280.     set. As you zoomed, smaller islands became visible; the same is true for 
  1281.     them. In fact, there are no isolated points in the M-set: it is "connected" 
  1282.     in a strict mathematical sense. 
  1283.  
  1284.  3. The upper and lower halves of the first image are symmetric (a fact that 
  1285.     Fractint makes use of here and in some other fractal types to speed 
  1286.     plotting). But notice that the same general features -- lobed discs, 
  1287.     spirals, starbursts -- tend to repeat themselves (although never exactly) 
  1288.     at smaller and smaller scales, so that it can be impossible to judge by eye 
  1289.     the scale of a given image. 
  1290.  
  1291.  4. In a sense, the contour colors are window-dressing: mathematically, it is 
  1292.     the properties of the M-set itself that are interesting, and no information 
  1293.     about it would be lost if all points outside the set were assigned the same 
  1294.     color. If you're a serious, no-nonsense type, you may want to cycle the 
  1295.     colors just once to see the kind of silliness that other people enjoy, and 
  1296.     then never do it again. Go ahead. Just once, now. We trust you. 
  1297.  
  1298. Select below for details of the formula. 
  1299.  
  1300.  mandel formula 
  1301.  
  1302.  
  1303. ΓòÉΓòÉΓòÉ 5.2. Julia Sets ΓòÉΓòÉΓòÉ
  1304.  
  1305.  
  1306. (type=julia) 
  1307.  
  1308. These sets were named for mathematician Gaston Julia, and can be generated by a 
  1309. simple change in the iteration process described for the  Mandelbrot Set. Start 
  1310. with a specified value of C, "C-real + i * C-imaginary"; use as the initial 
  1311. value of Z "x-coordinate + i * y-coordinate"; and repeat the same iteration, 
  1312. Z(n+1) = Z(n)^2 + C. 
  1313.  
  1314. There is a Julia set corresponding to every point on the complex plane -- an 
  1315. infinite number of Julia sets. But the most visually interesting tend to be 
  1316. found for the same C values where the M-set image is busiest, i.e. points just 
  1317. outside the boundary. Go too far inside, and the corresponding Julia set is a 
  1318. circle; go too far outside, and it breaks up into scattered points. In fact, 
  1319. all Julia sets for C within the M-set share the "connected" property of the 
  1320. M-set, and all those for C outside lack it. 
  1321.  
  1322. Fractint's spacebar toggle lets you "flip" between any view of the M-set and 
  1323. the Julia set for the point C at the center of that screen. You can then toggle 
  1324. back, or zoom your way into the Julia set for a while and then return to the 
  1325. M-set. So if the infinite complexity of the M-set palls, remember: each of its 
  1326. infinite points opens up a whole new Julia set. 
  1327.  
  1328. Historically, the Julia sets came first: it was while looking at the M-set as 
  1329. an "index" of all the Julia sets' origins that Mandelbrot noticed its 
  1330. properties. 
  1331.  
  1332. The relationship between the  Mandelbrot set and Julia set can hold between 
  1333. other sets as well.  Many of Fractint's types are "Mandelbrot/Julia" pairs 
  1334. (sometimes called "M-sets" or "J-sets". All these are generated by equations 
  1335. that are of the form z(k+1) = f(z(k),c), where the function orbit is the 
  1336. sequence z(0), z(1), ..., and the variable c is a complex parameter of the 
  1337. equation. The value c is fixed for "Julia" sets and is equal to the first two 
  1338. parameters entered with the "params=Creal/Cimag" command. The initial orbit 
  1339. value z(0) is the complex number corresponding to the screen pixel. For 
  1340. Mandelbrot sets, the parameter c is the complex number corresponding to the 
  1341. screen pixel. The value z(0) is c plus a perturbation equal to the values of 
  1342. the first two parameters.  See the discussion of  Mandellambda Sets. This 
  1343. approach may or may not be the "standard" way to create "Mandelbrot" sets out 
  1344. of "Julia" sets. 
  1345.  
  1346. Some equations have additional parameters.  These values is entered as the 
  1347. third for fourth params= value for both Julia and Mandelbrot sets. The 
  1348. variables x and y refer to the real and imaginary parts of z; similarly, cx and 
  1349. cy are the real and imaginary parts of the parameter c and fx(z) and fy(z) are 
  1350. the real and imaginary parts of f(z). The variable c is sometimes called lambda 
  1351. for historical reasons. 
  1352.  
  1353. Note:  If you use the "PARAMS=" argument to warp the M-set by starting with an 
  1354. initial value of Z other than 0, the M-set/J-sets correspondence breaks down 
  1355. and the spacebar toggle no longer works. 
  1356.  
  1357. Select below for details of the formula. 
  1358.  
  1359.  julia formula 
  1360.  
  1361.  
  1362. ΓòÉΓòÉΓòÉ 5.3. Newton domains of attraction ΓòÉΓòÉΓòÉ
  1363.  
  1364.  
  1365. (type=newtbasin) 
  1366.  
  1367. The Newton formula is an algorithm used to find the roots of polynomial 
  1368. equations by successive "guesses" that converge on the correct value as you 
  1369. feed the results of each approximation back into the formula. It works very 
  1370. well -- unless you are unlucky enough to pick a value that is on a line between 
  1371. two actual roots. In that case, the sequence explodes into chaos, with results 
  1372. that diverge more and more wildly as you continue the iteration. 
  1373.  
  1374. This fractal type shows the results for the polynomial Z^n - 1, which has n 
  1375. roots in the complex plane. Use the <T>ype command and enter "newtbasin" in 
  1376. response to the prompt. You will be asked for a parameter, the "order" of the 
  1377. equation (an integer from 3 through 10 -- 3 for x^3-1, 7 for x^7-1, etc.). A 
  1378. second parameter is a flag to turn on alternating shades showing changes in the 
  1379. number of iterations needed to attract an orbit. Some people like stripes and 
  1380. some don't, as always, Fractint gives you a choice! 
  1381.  
  1382. The coloring of the plot shows the "basins of attraction" for each root of the 
  1383. polynomial -- i.e., an initial guess within any area of a given color would 
  1384. lead you to one of the roots. As you can see, things get a bit weird along 
  1385. certain radial lines or "spokes," those being the lines between actual roots. 
  1386. By "weird," we mean infinitely complex in the good old fractal sense. Zoom in 
  1387. and see for yourself. 
  1388.  
  1389. This fractal type is symmetric about the origin, with the number of "spokes" 
  1390. depending on the order you select. It uses floating-point math if you have an 
  1391. FPU, or a somewhat slower integer algorithm if you don't have one. 
  1392.  
  1393. Select below for details of the formula. 
  1394.  
  1395.  newtbasin formula 
  1396.  
  1397. See also:  Newton 
  1398.  
  1399.  
  1400. ΓòÉΓòÉΓòÉ 5.4. Newton ΓòÉΓòÉΓòÉ
  1401.  
  1402.  
  1403. (type=newton) 
  1404.  
  1405. The generating formula here is identical to that for  newtbasin, but the 
  1406. coloring scheme is different. Pixels are colored not according to the root that 
  1407. would be "converged on" if you started using Newton's formula from that point, 
  1408. but according to the iteration when the value is close to a root.  For example, 
  1409. if the calculations for a particular pixel converge to the seventh root on the 
  1410. twenty-third iteration, NEWTBASIN will color that pixel using color #7, but 
  1411. NEWTON will color it using color #23. 
  1412.  
  1413. If you have a 256-color mode, use it: the effects can be much livelier than 
  1414. those you get with type=newtbasin, and color cycling becomes, like, downright 
  1415. cosmic. If your "corners" choice is symmetrical, Fractint exploits the symmetry 
  1416. for faster display. There is symmetry in newtbasin, too, but the current 
  1417. version of the software isn't smart enough to exploit it. 
  1418.  
  1419. The applicable "params=" values are the same as newtbasin. Try "params=4." 
  1420. Other values are 3 through 10. 8 has twice the symmetry and is faster. As with 
  1421. newtbasin, an FPU helps. 
  1422.  
  1423. Select below for details of the formula. 
  1424.  
  1425.  newton formula 
  1426.  
  1427.  
  1428. ΓòÉΓòÉΓòÉ 5.5. Complex Newton ΓòÉΓòÉΓòÉ
  1429.  
  1430.  
  1431. (type=complexnewton/complexbasin) 
  1432.  
  1433. Well, hey, "Z^n - 1" is so boring when you can use "Z^a - b" where "a" and "b" 
  1434. are complex numbers!  The new "complexnewton" and "complexbasin" fractal types 
  1435. are just the old  "newton" and  "newtbasin" fractal types with this little 
  1436. added twist.  When you select these fractal types, you are prompted for four 
  1437. values (the real and imaginary portions of "a" and "b"). If "a" has a complex 
  1438. portion, the fractal has a discontinuity along the negative axis - relax, we 
  1439. finally figured out that it's *supposed* to be there! 
  1440.  
  1441. Select below for details of the formula. 
  1442.  
  1443.  complexnewton and complexbasin formula 
  1444.  
  1445.  
  1446. ΓòÉΓòÉΓòÉ 5.6. Lambda Sets ΓòÉΓòÉΓòÉ
  1447.  
  1448.  
  1449. (type=lambda) 
  1450.  
  1451. This type calculates the Julia set of the formula lambda*Z*(1-Z). That is, the 
  1452. value Z[0] is initialized with the value corresponding to each pixel position, 
  1453. and the formula iterated. The pixel is colored according to the iteration when 
  1454. the sum of the squares of the real and imaginary parts exceeds 4. 
  1455.  
  1456. Two parameters, the real and imaginary parts of lambda, are required. Try 0 and 
  1457. 1 to see the classical fractal "dragon". Then try 0.2 and 1 for a lot more 
  1458. detail to zoom in on. 
  1459.  
  1460. It turns out that all quadratic Julia-type sets can be calculated using just 
  1461. the formula z^2+c (the "classic" Julia"), so that this type is redundant, but 
  1462. we include it for reason of it's prominence in the history of fractals. 
  1463.  
  1464. Select below for details of the formula. 
  1465.  
  1466.  lambda formula 
  1467.  
  1468.  
  1469. ΓòÉΓòÉΓòÉ 5.7. Mandellambda Sets ΓòÉΓòÉΓòÉ
  1470.  
  1471.  
  1472. (type=mandellambda) 
  1473.  
  1474. This type is the "Mandelbrot equivalent" of the  lambda set. A comment is in 
  1475. order here. Almost all the Fractint "Mandelbrot" sets are created from orbits 
  1476. generated using formulas like z(n+1) = f(z(n),C), with z(0) and C initialized 
  1477. to the complex value corresponding to the current pixel. Our reasoning was that 
  1478. "Mandelbrots" are maps of the corresponding "Julias". Using this scheme each 
  1479. pixel of a "Mandelbrot" is colored the same as the Julia set corresponding to 
  1480. that pixel. However, Kevin Allen informs us that the MANDELLAMBDA set appears 
  1481. in the literature with z(0) initialized to a critical point (a point where the 
  1482. derivative of the formula is zero), which in this case happens to be the point 
  1483. (.5,0). Since Kevin knows more about Dr. Mandelbrot than we do, and Dr. 
  1484. Mandelbrot knows more about fractals than we do, we defer! Starting with 
  1485. version 14 Fractint calculates MANDELAMBDA Dr. Mandelbrot's way instead of our 
  1486. way. But ALL THE OTHER "Mandelbrot" sets in Fractint are still calculated OUR 
  1487. way! (Fortunately for us, for the classic Mandelbrot Set these two methods are 
  1488. the same!) 
  1489.  
  1490. Well now, folks, apart from questions of faithfulness to fractals named in the 
  1491. literature (which we DO take seriously!), if a formula makes a beautiful 
  1492. fractal, it is not wrong. In fact some of the best fractals in Fractint are the 
  1493. results of mistakes! Nevertheless, thanks to Kevin for keeping us accurate! 
  1494.  
  1495. (See description of "initorbit=" command in {Image Calculation Parameters} for 
  1496. a way to experiment with different orbit intializations). 
  1497.  
  1498. Select below for details of the formula. 
  1499.  
  1500.  mandellambda formula 
  1501.  
  1502.  
  1503. ΓòÉΓòÉΓòÉ 5.8. Circle ΓòÉΓòÉΓòÉ
  1504.  
  1505.  
  1506. (type=circle) 
  1507.  
  1508. This fractal types is from A. K. Dewdney's "Computer Recreations" column in 
  1509. "Scientific American". It is attributed to John Connett of the University of 
  1510. Minnesota. 
  1511.  
  1512. (Don't tell anyone, but this fractal type is not really a fractal!) 
  1513.  
  1514. Fascinating Moire patterns can be formed by calculating x^2 + y^2 for each 
  1515. pixel in a piece of the complex plane. After multiplication by a magnification 
  1516. factor (the parameter), the number is truncated to an integer and mapped to a 
  1517. color via color = value modulo (number of colors). That is, the integer is 
  1518. divided by the number of colors, and the remainder is the color index value 
  1519. used.  The resulting image is not a fractal because all detail is lost after 
  1520. zooming in too far. Try it with different resolution video modes - the results 
  1521. may surprise you! 
  1522.  
  1523. Select below for details of the formula. 
  1524.  
  1525.  circle formula 
  1526.  
  1527.  
  1528. ΓòÉΓòÉΓòÉ 5.9. Plasma Clouds ΓòÉΓòÉΓòÉ
  1529.  
  1530.  
  1531. (type=plasma) 
  1532.  
  1533. Plasma clouds ARE real live fractals, even though we didn't know it at first. 
  1534. They are generated by a recursive algorithm that randomly picks colors of the 
  1535. corner of a rectangle, and then continues recursively quartering previous 
  1536. rectangles. Random colors are averaged with those of the outer rectangles so 
  1537. that small neighborhoods do not show much change, for a smoothed-out, 
  1538. cloud-like effect. The more colors your video mode supports, the better.  The 
  1539. result, believe it or not, is a fractal landscape viewed as a contour map, with 
  1540. colors indicating constant elevation.  To see this, save and view with the <3> 
  1541. command (see {\"3D\" Images}) and your "cloud" will be converted to a mountain! 
  1542.  
  1543. You've GOT to try color cycling on these (hit "+" or "-"). If you haven't been 
  1544. hypnotized by the drawing process, the writhing colors will do it for sure. We 
  1545. have now implemented subliminal messages to exploit the user's vulnerable 
  1546. state; their content varies with your bank balance, politics, gender, 
  1547. accessibility to a Fractint programmer, and so on. A free copy of Microsoft C 
  1548. to the first person who spots them. 
  1549.  
  1550. This type accepts a single parameter, which determines how abruptly the colors 
  1551. change. A value of .5 yields bland clouds, while 50 yields very grainy ones. 
  1552. The default value is 2. Zooming is ignored, as each plasma- cloud screen is 
  1553. generated randomly. 
  1554.  
  1555. The random number seed used for each plasma image is displayed on the <tab> 
  1556. information screen, and can be entered with the command line parameter "rseed=" 
  1557. to recreate a particular image. 
  1558.  
  1559. The algorithm is based on the Pascal program distributed by Bret Mulvey as 
  1560. PLASMA.ARC. We have ported it to C and integrated it with Fractint's graphics 
  1561. and animation facilities. This implementation does not use floating-point math. 
  1562.  
  1563. Saved plasma-cloud screens are EXCELLENT starting images for fractal 
  1564. "landscapes" created with the {\"3D\" commands}. 
  1565.  
  1566. Select below for details of the formula. 
  1567.  
  1568.  plasma formula 
  1569.  
  1570.  
  1571. ΓòÉΓòÉΓòÉ 5.10. Lambdafn ΓòÉΓòÉΓòÉ
  1572.  
  1573.  
  1574. (type=lambdafn) 
  1575.  
  1576. Function=[sin|cos|sinh|cosh|exp|log|sqr|...]) is specified with this type. 
  1577. Prior to version 14, these types were lambdasine, lambdacos, lambdasinh, 
  1578. lambdacos, and lambdaexp.  Where we say "lambdasine" or some such below, the 
  1579. good reader knows we mean "lambdafn with function=sin".) 
  1580.  
  1581. These types calculate the Julia set of the formula lambda*fn(Z), for various 
  1582. values of the function "fn", where lambda and Z are both complex. Two values, 
  1583. the real and imaginary parts of lambda, should be given in the "params=" 
  1584. option.  For the feathery, nested spirals of LambdaSines and the frost-on-glass 
  1585. patterns of LambdaCosines, make the real part = 1, and try values for the 
  1586. imaginary part ranging from 0.1 to 0.4 (hint: values near 0.4 have the best 
  1587. patterns). In these ranges the Julia set "explodes". For the tongues and blobs 
  1588. of LambdaExponents, try a real part of 0.379 and an imaginary part of 0.479. 
  1589.  
  1590. A co-processor used to be almost mandatory: each LambdaSine/Cosine iteration 
  1591. calculates a hyperbolic sine, hyperbolic cosine, a sine, and a cosine (the 
  1592. LambdaExponent iteration "only" requires an exponent, sine, and cosine 
  1593. operation)!  However, Fractint now computes these transcendental functions with 
  1594. fast integer math. In a few cases the fast math is less accurate, so we have 
  1595. kept the old slow floating point code. To use the old code, invoke with the 
  1596. float=yes option, and, if you DON'T have a co-processor, go on a LONG vacation! 
  1597.  
  1598. Select below for details of the formula. 
  1599.  
  1600.  lambdafn formula 
  1601.  
  1602.  
  1603. ΓòÉΓòÉΓòÉ 5.11. Mandelfn ΓòÉΓòÉΓòÉ
  1604.  
  1605.  
  1606. (type=mandelfn) 
  1607.  
  1608. Function=[sin|cos|sinh|cosh|exp|log|sqr|...]) is specified with this type. 
  1609. Prior to version 14, these types were mandelsine, mandelcos, mandelsinh, 
  1610. mandelcos, and mandelexp. Same comment about our lapses into the old 
  1611. terminology as above! 
  1612.  
  1613. These are "pseudo-Mandelbrot" mappings for the  LambdaFn Julia functions. They 
  1614. map to their corresponding Julia sets via the spacebar command in exactly the 
  1615. same fashion as the original M/J sets.  In general, they are interesting mainly 
  1616. because of that property (the function=exp set in particular is rather boring). 
  1617. Generate the appropriate "Mandelfn" set, zoom on a likely spot where the colors 
  1618. are changing rapidly, and hit the spacebar key to plot the Julia set for that 
  1619. particular point. 
  1620.  
  1621. Try "PMFRACT TYPE=MANDELFN CORNERS=4.68/4.76/-.03/.03 FUNCTION=COS" for a 
  1622. graphic demonstration that we're not taking Mandelbrot's name in vain here. We 
  1623. didn't even know these little buggers were here until Mark Peterson found this 
  1624. a few hours before the version incorporating Mandelfns was released. 
  1625.  
  1626. Note:  If you created images using the lambda or mandel "fn" types prior to 
  1627. version 14, and you wish to update the fractal information in the "*.fra" file, 
  1628. simply read the files and save again. You can do this in batch mode via a 
  1629. command line like: 
  1630.  
  1631.    "fractint oldfile.fra savename=newfile.gif batch=yes"
  1632.  
  1633. For example, this procedure can convert a version 13 "type=lambdasine" image to 
  1634. a version 14 "type=lambdafn function=sin" GIF89a image.  We do not promise to 
  1635. keep this "backward compatibility" past version 14 - if you want to keep the 
  1636. fractal information in your *.fra files accurate, we recommend conversion.  See 
  1637. GIF Save File Format. 
  1638.  
  1639. Select below for details of the formula. 
  1640.  
  1641.  mandelfn formula 
  1642.  
  1643.  
  1644. ΓòÉΓòÉΓòÉ 5.12. Barnsley Mandelbrot/Julia Sets ΓòÉΓòÉΓòÉ
  1645.  
  1646.  
  1647. (type=barnsleym1/.../j3) 
  1648.  
  1649. Michael Barnsley has written a fascinating college-level text, "Fractals 
  1650. Everywhere," on fractal geometry and its graphic applications. (See 
  1651. Bibliography.) In it, he applies the principle of the M and J sets to more 
  1652. general functions of two complex variables. 
  1653.  
  1654. We have incorporated three of Barnsley's examples in Fractint. Their appearance 
  1655. suggests polarized-light microphotographs of minerals, with patterns that are 
  1656. less organic and more crystalline than those of the M/J sets. Each example has 
  1657. both a "Mandelbrot" and a "Julia" type. Toggle between them using the spacebar. 
  1658.  
  1659. The parameters have the same meaning as they do for the "regular" Mandelbrot 
  1660. and Julia. For types M1, M2, and M3, they are used to "warp" the image by 
  1661. setting the initial value of Z. For the types J1 through J3, they are the 
  1662. values of C in the generating formulas. 
  1663.  
  1664. Be sure to try the <O>rbit function while plotting these types. 
  1665.  
  1666. Select below for details on each formula. 
  1667.  
  1668.  barnsleyj1 formula 
  1669.  
  1670.  barnsleyj2 formula 
  1671.  
  1672.  barnsleyj3 formula 
  1673.  
  1674.  barnsleym1 formula 
  1675.  
  1676.  barnsleym2 formula 
  1677.  
  1678.  barnsleym3 formula 
  1679.  
  1680.  
  1681. ΓòÉΓòÉΓòÉ 5.13. Barnsley IFS Fractals ΓòÉΓòÉΓòÉ
  1682.  
  1683.  
  1684. (type=ifs) 
  1685.  
  1686. One of the most remarkable spin-offs of fractal geometry is the ability to 
  1687. "encode" realistic images in very small sets of numbers -- parameters for a set 
  1688. of functions that map a region of two-dimensional space onto itself. In 
  1689. principle (and increasingly in practice), a scene of any level of complexity 
  1690. and detail can be stored as a handful of numbers, achieving amazing 
  1691. "compression" ratios... how about a super-VGA image of a forest, more than 
  1692. 300,000 pixels at eight bits apiece, from a 1-KB "seed" file? 
  1693.  
  1694. Again, Michael Barnsley and his co-workers at the Georgia Institute of 
  1695. Technology are to be thanked for pushing the development of these iterated 
  1696. function systems (IFS). 
  1697.  
  1698. When you select this fractal type, Fractint scans the current IFS file (default 
  1699. is FRACTINT.IFS, a set of definitions supplied with Fractint) for IFS 
  1700. definitions, then prompts you for the IFS name you wish to run. Fern and 3dfern 
  1701. are good ones to start with. You can press <F6> at the selection screen if you 
  1702. want to select a different .IFS file you've written. 
  1703.  
  1704. Note that some Barnsley IFS values generate images quite a bit smaller than the 
  1705. initial (default) screen. Just bring up the zoom box, center it on the small 
  1706. image, and hit <Enter> to get a full-screen image. 
  1707.  
  1708. To change the number of dots Fractint generates for an IFS image before 
  1709. stopping, you can change the "maximum iterations" parameter on the <X> options 
  1710. screen. 
  1711.  
  1712. Fractint supports two types of IFS images: 2D and 3D. In order to fully 
  1713. appreciate 3D IFS images, since your monitor is presumably 2D, we have added 
  1714. rotation, translation, and perspective capabilities. These share values with 
  1715. the same variables used in Fractint's other 3D facilities; for their meaning 
  1716. see {"Rectangular Coordinate Transformation"}. You can enter these values from 
  1717. the command line using: 
  1718.  
  1719. rotation=xrot/yrot/zrot       (try 30/30/30)
  1720. shift=xshift/yshift           (shifts BEFORE applying perspective!)
  1721. perspective=viewerposition    (try 200)
  1722.  
  1723. Alternatively, entering <I> from main screen will allow you to modify these 
  1724. values. The defaults are the same as for regular 3D, and are not always optimum 
  1725. for 3D IFS. With the 3dfern IFS type, try rotation=30/30/30. Note that applying 
  1726. shift when using perspective changes the picture -- your "point of view" is 
  1727. moved. 
  1728.  
  1729. A truly wild variation of 3D may be seen by entering "2" for the stereo mode 
  1730. (see {"Stereo 3D Viewing"}), putting on red/blue "funny glasses", and watching 
  1731. the fern develop with full depth perception right there before your eyes! 
  1732.  
  1733. This feature USED to be dedicated to Bruce Goren, as a bribe to get him to send 
  1734. us MORE knockout stereo slides of 3D ferns, now that we have made it so easy! 
  1735. Bruce, what have you done for us *LATELY* ?? (Just kidding, really!) 
  1736.  
  1737. Each line in an IFS definition (look at FRACTINT.IFS with your editor for 
  1738. examples) contains the parameters for one of the generating functions, e.g. in 
  1739. FERN: 
  1740.  
  1741.    a    b     c    d    e    f    p
  1742.  ___________________________________
  1743.    0     0    0  .16    0    0   .01
  1744.  .85   .04 -.04  .85    0  1.6   .85
  1745.  .2   -.26  .23  .22    0  1.6   .07
  1746. -.15   .28  .26  .24    0  .44   .07
  1747.  
  1748. The values on each line define a matrix, vector, and probability: 
  1749.  
  1750.     matrix   vector  prob
  1751.     |a b|     |e|     p
  1752.     |c d|     |f|
  1753. P. The "p" values are the probabilities assigned to each function (how often it 
  1754. is used), which add up to one. Fractint supports up to 32 functions, although 
  1755. usually three or four are enough. 
  1756.  
  1757. 3D IFS definitions are a bit different.  The name is followed by (3D) in the 
  1758. definition file, and each line of the definition contains 13 numbers: a b c d e 
  1759. f g h i j k l p, defining: 
  1760.  
  1761.     matrix   vector  prob
  1762.     |a b c|   |j|     p
  1763.     |d e f|   |k|
  1764.     |g h i|   |l|
  1765.  
  1766. You can experiment with changes to IFS definitions interactively by using 
  1767. Fractint's <Z> command.  After selecting an IFS definition, hit <Z> to bring up 
  1768. the IFS editor. This editor displays the current IFS values, lets you modify 
  1769. them, and lets you save your modified values as a text file which you can then 
  1770. merge into an XXX.IFS file for future use with Fractint. 
  1771.  
  1772. The program FDESIGN can be used to design IFS fractals. 
  1773.  
  1774. You can save the points in your IFS fractal in the file ORBITS.RAW which is 
  1775. overwritten each time a fractal is generated. The program Acrospin can read 
  1776. this file and will let you view the fractal from in any angle using the cursor 
  1777. keys. 
  1778.  
  1779.  
  1780. ΓòÉΓòÉΓòÉ 5.14. Sierpinski Gasket ΓòÉΓòÉΓòÉ
  1781.  
  1782.  
  1783. (type=sierpinski) 
  1784.  
  1785. Another pre-Mandelbrot classic, this one found by W. Sierpinski around World 
  1786. War I. It is generated by dividing a triangle into four congruent smaller 
  1787. triangles, doing the same to each of them, and so on, yea, even unto infinity. 
  1788. (Notice how hard we try to avoid reiterating "iterating"?) 
  1789.  
  1790. If you think of the interior triangles as "holes", they occupy more and more of 
  1791. the total area, while the "solid" portion becomes as hopelessly fragile as that 
  1792. gasket you HAD to remove without damaging it -- you remember, that Sunday 
  1793. afternoon when all the parts stores were closed? There's a three-dimensional 
  1794. equivalent using nested tetrahedrons instead of triangles, but it generates too 
  1795. much pyramid power to be safely unleashed yet. 
  1796.  
  1797. There are no parameters for this type. We were able to implement it with 
  1798. integer math routines, so it runs fairly quickly even without an FPU. 
  1799.  
  1800. Select below for details of the formula. 
  1801.  
  1802.  sierpinski formula 
  1803.  
  1804.  
  1805. ΓòÉΓòÉΓòÉ 5.15. Quartic Mandelbrot/Julia ΓòÉΓòÉΓòÉ
  1806.  
  1807.  
  1808. (type=mandel4/julia4) 
  1809.  
  1810. These fractal types are the moral equivalent of the original M and J sets, 
  1811. except that they use the formula Z(n+1) = Z(n)^4 + C, which adds additional 
  1812. pseudo-symmetries to the plots. The "Mandel4" set maps to the "Julia4" set via 
  1813. -- surprise! -- the spacebar toggle. The M4 set is kind of boring at first (the 
  1814. area between the "inside" and the "outside" of the set is pretty thin, and it 
  1815. tends to take a few zooms to get to any interesting sections), but it looks 
  1816. nice once you get there. The Julia sets look nice right from the start. 
  1817.  
  1818. Other powers, like Z(n)^3 or Z(n)^7, work in exactly the same fashion. We used 
  1819. this one only because we're lazy, and Z(n)^4 = (Z(n)^2)^2. 
  1820.  
  1821. Select below for details on each formula. 
  1822.  
  1823.  mandel4 formula 
  1824.  
  1825.  julia4 formula 
  1826.  
  1827.  
  1828. ΓòÉΓòÉΓòÉ 5.16. Distance Estimator ΓòÉΓòÉΓòÉ
  1829.  
  1830.  
  1831. (distest=nnn/nnn) 
  1832.  
  1833. This used to be type=demm and type=demj.  These types have not died, but are 
  1834. only hiding!  They are equivalent to the mandel and julia types with the 
  1835. "distest=" option selected with a predetermined value. 
  1836.  
  1837. The  Distance Estimator Method can be used to produce higher quality images of 
  1838. M and J sets, especially suitable for printing in black and white. 
  1839.  
  1840. If you have some *.fra files made with the old types demm/demj, you may want to 
  1841. convert them to the new form.  See the  Mandelfn section for directions to 
  1842. carry out the conversion. 
  1843.  
  1844.  
  1845. ΓòÉΓòÉΓòÉ 5.17. Pickover Mandelbrot/Julia Types ΓòÉΓòÉΓòÉ
  1846.  
  1847.  
  1848. (type=manfn+zsqrd/julfn+zsqrd, manzpowr/julzpowr, manzzpwr/julzzpwr, 
  1849. manfn+exp/julfn+exp - formerly included man/julsinzsqrd and man/julsinexp which 
  1850. have now been generalized) 
  1851.  
  1852. These types have been explored by Clifford A. Pickover, of the IBM Thomas J. 
  1853. Watson Research center. As implemented in Fractint, they are regular 
  1854. Mandelbrot/Julia set pairs that may be plotted with or without the  "biomorph" 
  1855. option Pickover used to create organic-looking beasties (see below). These 
  1856. types are produced with formulas built from the functions z^z, z^n, sin(z), and 
  1857. e^z for complex z. Types with "power" or "pwr" in their name have an exponent 
  1858. value as a third parameter. For example, type=manzpower params=0/0/2 is our old 
  1859. friend the classical Mandelbrot, and type=manzpower params=0/0/4 is the Quartic 
  1860. Mandelbrot. Other values of the exponent give still other fractals.  Since 
  1861. these WERE the original "biomorph" types, we should give an example.  Try: 
  1862.  
  1863.   FRACTINT type=manfn+zsqrd biomorph=0 corners=-8/8/-6/6 function=sin
  1864.  
  1865. to see a big biomorph digesting little biomorphs! 
  1866.  
  1867. Select below for details on each formula. 
  1868.  
  1869.  manfn+zsqrd formula 
  1870.  
  1871.  julfn+zsqrd formula 
  1872.  
  1873.  manzpowr formula 
  1874.  
  1875.  julzpowr formula 
  1876.  
  1877.  manzzpwr formula 
  1878.  
  1879.  julzzpwr formula 
  1880.  
  1881.  manfn+exp formula 
  1882.  
  1883.  julfn+exp formula 
  1884.  
  1885.  
  1886. ΓòÉΓòÉΓòÉ 5.18. Pickover Popcorn ΓòÉΓòÉΓòÉ
  1887.  
  1888.  
  1889. (type=popcorn/popcornjul) 
  1890.  
  1891. Here is another Pickover idea. This one computes and plots the orbits of the 
  1892. dynamic system defined by: 
  1893.  
  1894.          x(n+1) = x(n) - h*sin(y(n)+tan(3*y(n))
  1895.          y(n+1) = y(n) - h*sin(x(n)+tan(3*x(n))
  1896.  
  1897. with the initializers x(0) and y(0) equal to ALL the complex values within the 
  1898. "corners" values, and h=.01.  ALL these orbits are superimposed, resulting in 
  1899. "popcorn" effect.  You may want to use a maxiter value less than normal - 
  1900. Pickover recommends a value of 50.  As a bonus, type=popcornjul shows the Julia 
  1901. set generated by these same equations with the usual escape-time coloring. Turn 
  1902. on orbit viewing with the "O" command, and as you watch the orbit pattern you 
  1903. may get some insight as to where the popcorn comes from. Although you can zoom 
  1904. and rotate popcorn, the results may not be what you'd expect, due to the 
  1905. superimposing of orbits and arbitrary use of color. Just for fun we added type 
  1906. popcornjul, which is the plain old Julia set calculated from the same formula. 
  1907.  
  1908. Select below for details on each formula. 
  1909.  
  1910.  popcorn formula 
  1911.  
  1912.  popcornjul formula 
  1913.  
  1914.  
  1915. ΓòÉΓòÉΓòÉ 5.19. Peterson Variations ΓòÉΓòÉΓòÉ
  1916.  
  1917.  
  1918. (type=marksmandel, marksjulia, cmplxmarksmand, cmplxmarksjul, marksmandelpwr, 
  1919. tim's_error) 
  1920.  
  1921. These fractal types are contributions of Mark Peterson. MarksMandel and 
  1922. MarksJulia are two families of fractal types that are linked in the same manner 
  1923. as the classic Mandelbrot/Julia sets: each MarksMandel set can be considered as 
  1924. a mapping into the MarksJulia sets, and is linked with the spacebar toggle. The 
  1925. basic equation for these sets is: 
  1926.  
  1927.       Z(n+1) = ((lambda^n) * Z(n)^2) + lambda
  1928.  
  1929. where Z(0) = 0.0 and lambda is (x + iy) for MarksMandel. For MarksJulia, Z(0) = 
  1930. (x + iy) and lambda is a constant (taken from the MarksMandel spacebar toggle, 
  1931. if that method is used). The exponent is a positive integer or a complex 
  1932. number. We call these "families" because each value of the exponent yields a 
  1933. different MarksMandel set, which turns out to be a kinda-polygon with 
  1934. (exponent+1) sides. The exponent value is the third parameter, after the 
  1935. "initialization warping" values. Typically one would use null warping values, 
  1936. and specify the exponent with something like "PARAMS=0/0/4", which creates an 
  1937. unwarped, pentagonal MarksMandel set. 
  1938.  
  1939. In the process of coding MarksMandelPwr formula type, Tim Wegner created the 
  1940. type "tim's_error" after making an interesting coding mistake. 
  1941.  
  1942. Select below for details on each formula. 
  1943.  
  1944.  marksmandel formula 
  1945.  
  1946.  marksjulia formula 
  1947.  
  1948.  cmplxmarksmand formula 
  1949.  
  1950.  cmplsmarksjul formula 
  1951.  
  1952.  marksmandpwr formula 
  1953.  
  1954.  tim's error formula 
  1955.  
  1956.  
  1957. ΓòÉΓòÉΓòÉ 5.20. Unity ΓòÉΓòÉΓòÉ
  1958.  
  1959.  
  1960. (type=unity) 
  1961.  
  1962. This Peterson variation began with curiosity about other "Newton-style" 
  1963. approximation processes. A simple one, 
  1964.  
  1965.    One = (x * x) + (y * y); y = (2 - One) * x;   x = (2 - One) * y;
  1966.  
  1967. produces the fractal called Unity. 
  1968.  
  1969. One of its interesting features is the "ghost lines." The iteration loop bails 
  1970. out when it reaches the number 1 to within the resolution of a screen pixel. 
  1971. When you zoom a section of the image, the bailout criterion is adjusted, 
  1972. causing some lines to become thinner and others thicker.  Only one line in 
  1973. Unity that forms a perfect circle: the one at a radius of 1 from the origin. 
  1974. This line is actually infinitely thin. Zooming on it reveals only a thinner 
  1975. line, up (down?) to the limit of accuracy for the algorithm. The same thing 
  1976. happens with other lines in the fractal, such as those around |x| = |y| = 
  1977. (1/2)^(1/2) = .7071 
  1978.  
  1979. Try some other tortuous approximations using the  TEST stub and let us know 
  1980. what you come up with! 
  1981.  
  1982. Select below for details of the formula. 
  1983.  
  1984.  unity formula 
  1985.  
  1986.  
  1987. ΓòÉΓòÉΓòÉ 5.21. Scott Taylor / Lee Skinner Variations ΓòÉΓòÉΓòÉ
  1988.  
  1989.  
  1990. (type=fn(z*z), fn*fn, fn*z+z, fn+fn, sqr(1/fn), sqr(fn), spider, tetrate, 
  1991. manowar) 
  1992.  
  1993. Two of Fractint's faithful users went bonkers when we introduced the "formula" 
  1994. type, and came up with all kinds of variations on escape-time fractals using 
  1995. trig functions.  We decided to put them in as regular types, but there were 
  1996. just too many! So we defined the types with variable functions and let you, 
  1997. the, overwhelmed user, specify what the functions should be! Thus Scott 
  1998. Taylor's "z = sin(z) + z^2" formula type is now the "fn+fn" regular type, and 
  1999. EITHER function can be one of sin, cos, tan, cotan, sinh, cosh, tanh, cotanh, 
  2000. exp, log, sqr, recip, ident, or cosxx. Plus we give you 4 parameters to set, 
  2001. the complex coefficients of the two functions!  Thus the innocent-looking 
  2002. "fn+fn" type is really 66 different types in disguise, not counting the damage 
  2003. done by the parameters! 
  2004.  
  2005. Lee informs us that you should not judge fractals by their "outer" appearance. 
  2006. For example, the images produced by z = sin(z) + z^2 and z = sin(z) - z^2 look 
  2007. very similar, but are different when you zoom in. 
  2008.  
  2009. Select below for details on each formula. 
  2010.  
  2011.  fn(z*z) formula 
  2012.  
  2013.  fn*fn formula 
  2014.  
  2015.  fn*z+z formula 
  2016.  
  2017.  fn+fn formula 
  2018.  
  2019.  fn+fn(pix) formula 
  2020.  
  2021.  sqr(1/fn) formula 
  2022.  
  2023.  sqr(fn) formula 
  2024.  
  2025.  spider formula 
  2026.  
  2027.  tetrate formula 
  2028.  
  2029.  manowar formula 
  2030.  
  2031.  manowar julia formula 
  2032.  
  2033.  
  2034. ΓòÉΓòÉΓòÉ 5.22. Kam Torus ΓòÉΓòÉΓòÉ
  2035.  
  2036.  
  2037. (type=kamtorus, kamtorus3d) 
  2038.  
  2039. This type is created by superimposing orbits generated by a set of equations, 
  2040. with a variable incremented each time. 
  2041.  
  2042. x(0) = y(0) = orbit/3;
  2043. x(n+1) = x(n)*cos(a) + (x(n)*x(n)-y(n))*sin(a)
  2044. y(n+1) = x(n)*sin(a) - (x(n)*x(n)-y(n))*cos(a)
  2045.  
  2046. After each orbit, 'orbit' is incremented by a step size. The parameters are 
  2047. angle "a", step size for incrementing 'orbit', stop value for 'orbit', and 
  2048. points per orbit. Try this with a stop value of 5 with sound=x for some weird 
  2049. fractal music (ok, ok, fractal noise)! You will also see the KAM Torus head 
  2050. into some chaotic territory that Scott Taylor wanted to hide from you by 
  2051. setting the defaults the way he did, but now we have revealed all! 
  2052.  
  2053. The 3D variant is created by treating 'orbit' as the z coordinate. 
  2054.  
  2055. With both variants, you can adjust the "maxiter" value (<X> options screen or 
  2056. parameter maxiter=) to change the number of orbits plotted. 
  2057.  
  2058. Select below for details on the formula. 
  2059.  
  2060.  kamtorus formula 
  2061.  
  2062.  
  2063. ΓòÉΓòÉΓòÉ 5.23. Bifurcation ΓòÉΓòÉΓòÉ
  2064.  
  2065.  
  2066. (type=bifxxx) 
  2067.  
  2068. The wonder of fractal geometry is that such complex forms can arise from such 
  2069. simple generating processes. A parallel surprise has emerged in the study of 
  2070. dynamical systems: that simple, deterministic equations can yield chaotic 
  2071. behavior, in which the system never settles down to a steady state or even a 
  2072. periodic loop. Often such systems behave normally up to a certain level of some 
  2073. controlling parameter, then go through a transition in which there are two 
  2074. possible solutions, then four, and finally a chaotic array of possibilities. 
  2075.  
  2076. This emerged many years ago in biological models of population growth. Consider 
  2077. a (highly over-simplified) model in which the rate of growth is partly a 
  2078. function of the size of the current population: 
  2079.  
  2080. New Population =  Growth Rate * Old Population * (1 - Old Population) 
  2081.  
  2082. where population is normalized to be between 0 and 1. At growth rates less than 
  2083. 200 percent, this model is stable: for any starting value, after several 
  2084. generations the population settles down to a stable level. But for rates over 
  2085. 200 percent, the equation's curve splits or "bifurcates" into two discrete 
  2086. solutions, then four, and soon becomes chaotic. 
  2087.  
  2088. Type=bifurcation illustrates this model. (Although it's now considered a poor 
  2089. one for real populations, it helped get people thinking about chaotic systems.) 
  2090. The horizontal axis represents growth rates, from 190 percent (far left) to 400 
  2091. percent; the vertical axis normalized population values, from 0 to 4/3. Notice 
  2092. that within the chaotic region, there are narrow bands where there is a small, 
  2093. odd number of stable values. It turns out that the geometry of this branching 
  2094. is fractal; zoom in where changing pixel colors look suspicious, and see for 
  2095. yourself. 
  2096.  
  2097. Two parameters apply to bifurcations: Filter Cycles and Seed Population. 
  2098.  
  2099. Filter Cycles (default 1000) is the number of iterations to be done before 
  2100. plotting maxiter population values. This gives the iteration time to settle 
  2101. into the characteristic patterns that constitute the bifurcation diagram, and 
  2102. results in a clean-looking plot.  However, using lower values produces 
  2103. interesting results too. Set Filter Cycles to 1 for an unfiltered map. 
  2104.  
  2105. Seed Population (default 0.66) is the initial population value from which all 
  2106. others are calculated. For filtered maps the final image is independent of Seed 
  2107. Population value in the valid range (0.0 < Seed Population < 1.0). 
  2108.  
  2109. Seed Population becomes effective in unfiltered maps - try setting Filter 
  2110. Cycles to 1 (unfiltered) and Seed Population to 0.001 ("PARAMS=1/.001" on the 
  2111. command line). This results in a map overlaid with nice curves. Each Seed 
  2112. Population value results in a different set of curves. 
  2113.  
  2114. Many formulae can be used to produce bifurcations.  Mitchel Feigenbaum studied 
  2115. lots of bifurcations in the mid-70's, using a HP-65 calculator (IBM PCs, 
  2116. Fractals, and Fractint, were all Sci-Fi then !). He studied where bifurcations 
  2117. occurred, for the formula r*p*(1-p), the one described above.    He found that the 
  2118. ratios of lengths of adjacent areas of bifurcation were four and a bit.  These 
  2119. ratios vary, but, as the growth rate increases, they tend to a limit of 4.669+. 
  2120. This helped him guess where bifurcation points would be, and saved lots of 
  2121. time. 
  2122.  
  2123. When he studied bifurcations of r*sin(PI*p) he found a similar pattern, which 
  2124. is not surprising in itself.  However, 4.669+ popped out, again. Different 
  2125. formulae, same number ?  Now, THAT's surprising !  He tried many other formulae 
  2126. and ALWAYS got 4.669+ - Hot Damn !!!  So hot, in fact, that he phoned home and 
  2127. told his Mom it would make him Famous ! He also went on to tell other 
  2128. scientists.  The rest is History... 
  2129.  
  2130. (It has been conjectured that if Feigenbaum had a copy of Fractint, and used it 
  2131. to study bifurcations, he may never have found his Number, as it only became 
  2132. obvious from long perusal of hand-written lists of values, without the 
  2133. distraction of wild color-cycling effects !). 
  2134.  
  2135. We now know that this number is as universal as PI or E. It appears in 
  2136. situations ranging from fluid-flow turbulence, electronic oscillators, chemical 
  2137. reactions, and even the Mandelbrot Set - yup, fraid so: "budding" of the 
  2138. Mandelbrot Set along the negative real axis occurs at intervals determined by 
  2139. Feigenbaum's Number, 4.669201660910..... 
  2140.  
  2141. Fractint does not make direct use of the Feigenbaum Number (YET !). However, it 
  2142. does now reflect the fact that there is a whole sub-species of Bifurcation-type 
  2143. fractals.  Those implemented to date, and the related formulae, (writing P for 
  2144. pop[n+1] and p for pop[n]) are : 
  2145.  
  2146. bifurcation   P =  p + r*p*(1-p)      Verhulst Bifurcations.
  2147. biflambda     P =      r*p*(1-p)      Real equivalent of Lambda Sets.
  2148. bif+sinpi     P =  p + r*sin(PI*p)    Population scenario based on...
  2149. bif=sinpi     P =      r*sin(PI*p)    ...Feigenbaum's second formula.
  2150. bifstewart    P =      r*p*p - 1      Stewart Map.
  2151.  
  2152. It took a while for bifurcations to appear here, despite them being over a 
  2153. century old, and intimately related to chaotic systems. However, they are now 
  2154. truly alive and well in Fractint! 
  2155.  
  2156. Select below for details on each formula. 
  2157.  
  2158.  bifurcation formula 
  2159.  
  2160.  bif+sinpi formula 
  2161.  
  2162.  bif=sinpi formula 
  2163.  
  2164.  biflambda formula 
  2165.  
  2166.  bifstewart formula 
  2167.  
  2168.  
  2169. ΓòÉΓòÉΓòÉ 5.24. Orbit Fractals ΓòÉΓòÉΓòÉ
  2170.  
  2171. Orbit Fractals are generated by plotting an orbit path in two or three 
  2172. dimensional space. 
  2173.  
  2174. See  Lorenz Attractors,  Rossler Attractors,  Henon Attractors,  Pickover 
  2175. Attractors,  Gingerbreadman,  Martin Attractors. 
  2176.  
  2177. The orbit trajectory for these types can be saved in the file ORBITS.RAW by 
  2178. invoking Fractint with the "orbitsave=yes" command-line option.  This file will 
  2179. be overwritten each time you generate a new fractal, so rename it if you want 
  2180. to save it.  A nifty program called Acrospin can read these files and rapidly 
  2181. rotate them in 3-D - see  Acrospin. 
  2182.  
  2183.  
  2184. ΓòÉΓòÉΓòÉ 5.25. Lorenz Attractors ΓòÉΓòÉΓòÉ
  2185.  
  2186.  
  2187. (type=lorenz/lorenz3d) 
  2188.  
  2189. The "Lorenz Attractor" is a "simple" set of three deterministic equations 
  2190. developed by Edward Lorenz while studying the non- repeatability of weather 
  2191. patterns.  The weather forecaster's basic problem is that even very tiny 
  2192. changes in initial patterns ("the beating of a butterfly's wings" - the 
  2193. official term is "sensitive dependence on initial conditions") eventually 
  2194. reduces the best weather forecast to rubble. 
  2195.  
  2196. The lorenz attractor is the plot of the orbit of a dynamic system consisting of 
  2197. three first order non-linear differential equations. The solution to the 
  2198. differential equation is vector-valued function of one variable.  If you think 
  2199. of the variable as time, the solution traces an orbit.  The orbit is made up of 
  2200. two spirals at an angle to each other in three dimensions. We change the orbit 
  2201. color as time goes on to add a little dazzle to the image.  The equations are: 
  2202.  
  2203.  dx/dt = -a*x + a*y
  2204.  dy/dt =  b*x - y -z*x
  2205.  dz/dt = -c*z + x*y
  2206.  
  2207. We solve these differential equations approximately using a method known as the 
  2208. first order taylor series.  Calculus teachers everywhere will kill us for 
  2209. saying this, but you treat the notation for the derivative dx/dt as though it 
  2210. really is a fraction, with "dx" the small change in x that happens when the 
  2211. time changes "dt".  So multiply through the above equations by dt, and you will 
  2212. have the change in the orbit for a small time step. We add these changes to the 
  2213. old vector to get the new vector after one step. This gives us: 
  2214.  
  2215.  xnew = x + (-a*x*dt) + (a*y*dt)
  2216.  ynew = y + (b*x*dt) - (y*dt) - (z*x*dt)
  2217.  znew = z + (-c*z*dt) + (x*y*dt)
  2218.  
  2219. (default values: dt = .02, a = 5, b = 15, c = 1) 
  2220.  
  2221. We connect the successive points with a line, project the resulting 3D orbit 
  2222. onto the screen, and voila! The Lorenz Attractor! 
  2223.  
  2224. We have added two versions of the Lorenz Attractor.  "Type=lorenz" is the 
  2225. Lorenz attractor as seen in everyday 2D.  "Type=lorenz3d" is the same set of 
  2226. equations with the added twist that the results are run through our perspective 
  2227. 3D routines, so that you get to view it from different angles (you can modify 
  2228. your perspective "on the fly" by using the <I> command.) If you set the 
  2229. "stereo" option to "2", and have red/blue funny glasses on, you will see the 
  2230. attractor orbit with depth perception. 
  2231.  
  2232. Hint: the default perspective values (x = 60, y = 30, z = 0) aren't the best 
  2233. ones to use for fun Lorenz Attractor viewing.  Experiment a bit - start with 
  2234. rotation values of 0/0/0 and then change to 20/0/0 and 40/0/0 to see the 
  2235. attractor from different angles.- and while you're at it, use a non-zero 
  2236. perspective point Try 100 and see what happens when you get *inside* the Lorenz 
  2237. orbits.  Here comes one - Duck!  While you are at it, turn on the sound with 
  2238. the "X". This way you'll at least hear it coming! 
  2239.  
  2240. Different Lorenz attractors can be created using different parameters. Four 
  2241. parameters are used. The first is the time-step (dt). The default value is .02. 
  2242. A smaller value makes the plotting go slower; a larger value is faster but 
  2243. rougher. A line is drawn to connect successive orbit values. The second, third, 
  2244. and fourth parameters are coefficients used in the differential equation (a, b, 
  2245. and c). The default values are 5, 15, and 1. Try changing these a little at a 
  2246. time to see the result. 
  2247.  
  2248. Select below for details on the formula. 
  2249.  
  2250.  lorenz and lorenz3d formula 
  2251.  
  2252.  lorenz3d1 formula 
  2253.  
  2254.  lorenz3d3 formula 
  2255.  
  2256.  lorenz3d4 formula 
  2257.  
  2258.  
  2259. ΓòÉΓòÉΓòÉ 5.26. Rossler Attractors ΓòÉΓòÉΓòÉ
  2260.  
  2261.  
  2262. (type=rossler3D) 
  2263.  
  2264. This fractal is named after the German Otto Rossler, a non-practicing medical 
  2265. doctor who approached chaos with a bemusedly philosophical attitude.  He would 
  2266. see strange attractors as philosophical objects. His fractal namesake looks 
  2267. like a band of ribbon with a fold in it. All we can say is we used the same 
  2268. calculus-teacher-defeating trick of multiplying the equations by "dt" to solve 
  2269. the differential equation and generate the orbit.  This time we will skip 
  2270. straight to the orbit generator - if you followed what we did above with type 
  2271. Lorenz you can easily reverse engineer the differential equations. 
  2272.  
  2273. xnew = x - y*dt -   z*dt
  2274. ynew = y + x*dt + a*y*dt
  2275. znew = z + b*dt + x*z*dt - c*z*dt
  2276.  
  2277. Default parameters are dt = .04, a = .2, b = .2, c = 5.7 
  2278.  
  2279. Select below for details on the formula. 
  2280.  
  2281.  rossler3D formula 
  2282.  
  2283.  
  2284. ΓòÉΓòÉΓòÉ 5.27. Henon Attractors ΓòÉΓòÉΓòÉ
  2285.  
  2286.  
  2287. (type=henon) 
  2288.  
  2289. Michel Henon was an astronomer at Nice observatory in southern France. He came 
  2290. to the subject of fractals via investigations of the orbits of astronomical 
  2291. objects.  The strange attractor most often linked with Henon's name comes not 
  2292. from a differential equation, but from the world of discrete mathematics - 
  2293. difference equations. The Henon map is an example of a very simple dynamic 
  2294. system that exhibits strange behavior. The orbit traces out a characteristic 
  2295. banana shape, but on close inspection, the shape is made up of thicker and 
  2296. thinner parts.  Upon magnification, the thicker bands resolve to still other 
  2297. thick and thin components.  And so it goes forever! The equations that generate 
  2298. this strange pattern perform the mathematical equivalent of repeated stretching 
  2299. and folding, over and over again. 
  2300.  
  2301. xnew =  1 + y - a*x*x
  2302. ynew =  b*x
  2303.  
  2304. The default parameters are a=1.4 and b=.3. 
  2305.  
  2306. Select below for details on the formula. 
  2307.  
  2308.  henon formula 
  2309.  
  2310.  
  2311. ΓòÉΓòÉΓòÉ 5.28. Pickover Attractors ΓòÉΓòÉΓòÉ
  2312.  
  2313.  
  2314. (type=pickover) 
  2315.  
  2316. Clifford A. Pickover of the IBM Thomas J. Watson Research center is such a 
  2317. creative source for fractals that we attach his name to this one only with 
  2318. great trepidation.  Probably tomorrow he'll come up with another one and we'll 
  2319. be back to square one trying to figure out a name! 
  2320.  
  2321. This one is the three dimensional orbit defined by: 
  2322.  
  2323. xnew = sin(a*y) - z*cos(b*x)
  2324. ynew = z*sin(c*x) - cos(d*y)
  2325. znew = sin(x)
  2326.  
  2327. Default parameters are: a = 2.24, b = .43, c = -.65, d = -2.43 
  2328.  
  2329. Select below for details on the formula. 
  2330.  
  2331.  pickover formula 
  2332.  
  2333.  
  2334. ΓòÉΓòÉΓòÉ 5.29. Gingerbreadman ΓòÉΓòÉΓòÉ
  2335.  
  2336.  
  2337. (type=gingerbreadman) 
  2338.  
  2339. This simple fractal is a charming example stolen from "Science of Fractal 
  2340. Images", p. 149. 
  2341.  
  2342. xnew = 1 - y + |x|
  2343. ynew = x
  2344.  
  2345. The initial x and y values are set by parameters, defaults x=-.1, y = 0. 
  2346.  
  2347. Select below for details on the formula. 
  2348.  
  2349.  gingerbreadman formula 
  2350.  
  2351.  
  2352. ΓòÉΓòÉΓòÉ 5.30. Martin Attractors ΓòÉΓòÉΓòÉ
  2353.  
  2354.  
  2355. (type=hopalong/martin) 
  2356.  
  2357. These fractal types are from A. K. Dewdney's "Computer Recreations" column in 
  2358. "Scientific American". They are attributed to Barry Martin of Aston University 
  2359. in Birmingham, Alabama. 
  2360.  
  2361. Hopalong is an "orbit" type fractal like lorenz. The image is obtained by 
  2362. iterating this formula after setting z(0) = y(0) = 0: 
  2363.  
  2364. x(n+1) = y(n) - sign(x(n))*sqrt(abs(b*x(n)-c))
  2365. y(n+1) = a - x(n)
  2366.  
  2367. Parameters are a, b, and c. The function "sign()"  returns 1 if the argument is 
  2368. positive, -1 if argument is negative. 
  2369.  
  2370. This fractal continues to develop in surprising ways after many iterations. 
  2371.  
  2372. Another Martin fractal is simpler. The iterated formula is: 
  2373.  
  2374. x(n+1) = y(n) - sin(x(n))
  2375. y(n+1) = a - x(n)
  2376.  
  2377. The paramneter is "a". Try values near the number pi. 
  2378.  
  2379. Select below for details on the formula. 
  2380.  
  2381.  hopalong formula 
  2382.  
  2383.  Martin formula 
  2384.  
  2385.  
  2386. ΓòÉΓòÉΓòÉ 5.31. Test ΓòÉΓòÉΓòÉ
  2387.  
  2388.  
  2389. (type=test) 
  2390.  
  2391. This is a stub that we (and you!) use for trying out new fractal types. 
  2392. "Type=test" fractals make use of Fractint's structure and features for whatever 
  2393. code is in the routine 'testpt()' (located in the small source file TESTPT.C) 
  2394. to determine the color of a particular pixel. 
  2395.  
  2396. If you have a favorite fractal type that you believe would fit nicely into 
  2397. Fractint, just rewrite the C function in TESTPT.C (or use the prototype 
  2398. function there, which is a simple M-set implementation) with an algorithm that 
  2399. computes a color based on a point in the complex plane. 
  2400.  
  2401. After you get it working, send your code to one of the authors and we might 
  2402. just add it to the next release of Fractint, with full credit to you. Our 
  2403. criteria are: 1) an interesting image and 2) a formula significantly different 
  2404. from types already supported. (Bribery may also work. THIS author is completely 
  2405. honest, but I don't trust those other guys.) Be sure to include an explanation 
  2406. of your algorithm and the parameters supported, preferably formatted as you see 
  2407. here to simplify folding it into the documentation. 
  2408.  
  2409. Select below for details on the formula. 
  2410.  
  2411.  test formula 
  2412.  
  2413.  
  2414. ΓòÉΓòÉΓòÉ 5.32. Formula ΓòÉΓòÉΓòÉ
  2415.  
  2416.  
  2417. (type=formula) 
  2418.  
  2419. This is a "roll-your-own" fractal interpreter - you don't even need a compiler! 
  2420.  
  2421. To run a "type=formula" fractal, you first need a text file containing formulas 
  2422. (there's a sample file - FRACTINT.FRM - included with this distribution).  When 
  2423. you select the "formula" fractal type, Fractint scans the current formula file 
  2424. (default is FRACTINT.FRM) for formulas, then prompts you for the formula name 
  2425. you wish to run.  After prompting for any parameters, the formula is parsed for 
  2426. syntax errors and then the fractal is generated. If you want to use a different 
  2427. formula file, press <F6> when you are prompted to select a formula name. 
  2428.  
  2429. There are two command-line options that work with type=formula ("formulafile=" 
  2430. and "formulaname="), useful when you are using this fractal type in batch mode. 
  2431.  
  2432. The following documentation is supplied by Mark Peterson, who wrote the formula 
  2433. interpreter: 
  2434.  
  2435. Formula fractals allow you to create your own fractal formulas.  The general 
  2436. format is: 
  2437.  
  2438.    Mandelbrot(XAXIS) { z = Pixel:  z = sqr(z) + pixel, |z| <= 4 }
  2439.       |         |          |                |              |
  2440.      Name     Symmetry    Initial         Iteration       Bailout
  2441.                           Condition                       Criteria
  2442.  
  2443. Initial conditions are set, then the iterations performed until the bailout 
  2444. criteria is true or 'z' turns into a periodic loop. All variables are created 
  2445. automatically by their usage and treated as complex.  If you declare 'v = 2' 
  2446. then the variable 'v' is treated as a complex with an imaginary value of zero. 
  2447.  
  2448.           Predefined Variables (x, y)
  2449.           --------------------------------------------
  2450.           z              used for periodicity checking
  2451.           p1             parameters 1 and 2
  2452.           p2             parameters 3 and 4
  2453.           pixel          screen coordinates
  2454.  
  2455.           Precedence
  2456.           --------------------------------------------
  2457.           1              sin(), cos(), sinh(), cosh(), cosxx(),
  2458.                          tan(), cotan(), tanh(), cotanh(),
  2459.                          sqr, log(), exp(), abs(), conj(), real(),
  2460.                          imag(), flip(), fn1(), fn2(), fn3(), fn4()
  2461.           2              - (negation), ^ (power)
  2462.           3              * (multiplication), / (division)
  2463.           4              + (addition), - (subtraction)
  2464.           5              = (assignment)
  2465.           6              < (less than), <= (less than or equal to)
  2466.  
  2467. Precedence may be overridden by use of parenthesis.  Note the modulus squared 
  2468. operator |z| is also parenthetic and always sets the imaginary component to 
  2469. zero.  This means 'c * |z - 4|' first subtracts 4 from z, calculates the 
  2470. modulus squared then multiplies times 'c'.  Nested modulus squared operators 
  2471. require overriding parenthesis: 
  2472.  
  2473.           c * |z + (|pixel|)|
  2474.  
  2475. The functions fn1(...) to fn4(...) are variable functions - when used, the user 
  2476. is prompted at run time (on the <Z> screen) to specify one of sin, cos, sinh, 
  2477. cosh, exp, log, sqr, etc. for each required variable function. 
  2478.  
  2479. The formulas are performed using either integer or floating point mathematics 
  2480. depending on the <F> floating point toggle.  If you do not have an FPU then 
  2481. type MPC math is performed in lieu of traditional floating point. 
  2482.  
  2483. Remember that when using integer math there is a limited dynamic range, so what 
  2484. you think may be a fractal could really be just a limitation of the integer 
  2485. math range.  God may work with integers, but His dynamic range is many orders 
  2486. of magnitude greater than our puny 32 bit mathematics!  Always verify with the 
  2487. floating point <F> toggle. 
  2488.  
  2489.  
  2490. ΓòÉΓòÉΓòÉ 5.33. Julibrots ΓòÉΓòÉΓòÉ
  2491.  
  2492.  
  2493. (type=julibrot) 
  2494.  
  2495. The following documentation is supplied by Mark Peterson, who "invented" the 
  2496. Julibrot algorithm. 
  2497.  
  2498. There is a very close relationship between the Mandelbrot set and Julia sets of 
  2499. the same equation.  To draw a Julia set you take the basic equation and vary 
  2500. the initial value according to the two dimensions of screen leaving the 
  2501. constant untouched.  This method diagrams two dimensions of the equation, 'x' 
  2502. and 'iy', which I refer to as the Julia x and y. 
  2503.  
  2504.      z(0) = screen coordinate (x + iy)
  2505.      z(1) = (z(0) * z(0)) + c, where c = (a + ib)
  2506.      z(2) = (z(1) * z(0)) + c
  2507.      z(3) = . . . .
  2508.  
  2509. The Mandelbrot set is a composite of all the Julia sets.  If you take the 
  2510. center pixel of each Julia set and plot it on the screen coordinate 
  2511. corresponding to the value of c, a + ib, then you have the Mandelbrot set. 
  2512.  
  2513.      z(0) = 0
  2514.      z(1) = (z(0) * z(0)) + c, where c = screen coordinate (a + ib)
  2515.      z(2) = (z(1) * z(1)) + c
  2516.      z(3) = . . . .
  2517.  
  2518. I refer to the 'a' and 'ib' components of 'c' as the Mandelbrot 'x' and 'y'. 
  2519.  
  2520. All the 2 dimensional Julia sets correspond to a single point on the 2 
  2521. dimensional Mandelbrot set, making a total of 4 dimensions associated with our 
  2522. equation.  Visualizing 4 dimensional objects is not as difficult as it may 
  2523. sound at first if you consider we live in a 4 dimensional world.  The room 
  2524. around you is three dimensions and as you read this text you are moving through 
  2525. the fourth dimension of time. You and everything around your are 4 dimensional 
  2526. objects - which is to say 3 dimensional objects moving through time.  We can 
  2527. think of the 4 dimensions of our equation in the same manner, this is as a 3 
  2528. dimensional object evolving over time - sort of a 3 dimensional fractal movie. 
  2529. The fun part of it is you get to pick the dimension representing time! 
  2530.  
  2531. To construct the 4 dimensional object into something you can view on the 
  2532. computer screen you start with the simple 2 dimensions of the Julia set. I'll 
  2533. treat the two Julia dimensions as the spatial dimensions of height and width, 
  2534. and the Mandelbrot 'y' dimension as the third spatial dimension of depth.  This 
  2535. leaves the Mandelbrot 'x' dimension as time.  Draw the Julia set associated 
  2536. with the Mandelbrot coordinate (-.83, -.25), but instead of setting the color 
  2537. according to the iteration level it bailed out on, make it a two color drawing 
  2538. where the pixels are black for iteration levels less than 30, and another color 
  2539. for iteration levels greater than or equal to 30.  Now increment the Mandelbrot 
  2540. 'y' coordinate by a little bit, say (-.83, -.2485), and draw another Julia set 
  2541. in the same manner using a different color for bailout values of 30 or greater. 
  2542. Continue doing this until you reach (-.83, .25).  You now have a three 
  2543. dimensional representation of the equation at time -.83.  If you make the same 
  2544. drawings for points in time before and after -.83 you can construct a 3 
  2545. dimensional movie of the equation which essentially is a full 4 dimensional 
  2546. representation. 
  2547.  
  2548. In the Julibrot fractal available with this release of Fractint the spatial 
  2549. dimensions of height and width are always the Julia dimensions. The dimension 
  2550. of depth is determined by the Mandelbrot coordinates.  The program will 
  2551. consider the dimension of depth as the line between the two Mandelbrot points. 
  2552. To draw the image in our previous example you would set the 'From Mandelbrot' 
  2553. to (-.83, .25) and the 'To Mandelbrot' as (-.83, -.25).  If you set the number 
  2554. of 'z' pixels to 128 then the program will draw the 128 Julia sets found 
  2555. between Mandelbrot points (-.83, .25) and (-.83, -.25).  To speed things up the 
  2556. program doesn't actually calculate ALL the coordinates of the Julia sets.  It 
  2557. starts with the a pixel a the Julia set closest to the observer and moves into 
  2558. the screen until it either reaches the required bailout or the limit to the 
  2559. range of depth.  Zooming can be done in the same manner as with other fractals. 
  2560. The visual effect (with other values unchanged) is similar to putting the boxed 
  2561. section under a pair of magnifying glasses. 
  2562.  
  2563. The variable associated with penetration level is the level of bailout there 
  2564. you decide to make the fractal solid.  In other words all bailout levels less 
  2565. than the penetration level are considered to be transparent, and those equal or 
  2566. greater to be opaque.  The farther away the apparent pixel is the dimmer the 
  2567. color. 
  2568.  
  2569. The remainder of the parameters are needed to construct the red/blue picture so 
  2570. that the fractal appears with the desired depth and proper 'z' location.  With 
  2571. the origin set to 8 inches beyond the screen plane and the depth of the fractal 
  2572. at 8 inches the default fractal will appear to start at 4 inches beyond the 
  2573. screen and extend to 12 inches if your eyeballs are 2.5 inches apart and 
  2574. located at a distance of 24 inches from the screen. The screen dimensions 
  2575. provide the reference frame. 
  2576.  
  2577. To the human eye blue appears brighter than red.  The Blue:Red ratio is used to 
  2578. compensate for this fact.  If the image appears reddish through the glasses 
  2579. raise this value until the image appears to be in shades of gray.  If it 
  2580. appears bluish lower the ratio.  Julibrots can only be shown in 256 red/blue 
  2581. colors for viewing in either stereo-graphic (red/blue funny glasses) or 
  2582. gray-scaled.  Fractint automatically loads either GLASSES1.MAP or ALTERN.MAP as 
  2583. appropriate. 
  2584.  
  2585.  
  2586. ΓòÉΓòÉΓòÉ 5.34. Diffusion Limited Aggregation ΓòÉΓòÉΓòÉ
  2587.  
  2588.  
  2589. (type=diffusion) 
  2590.  
  2591. This type begins with a single point in the center of the screen. Subsequent 
  2592. points move around randomly until coming into contact with the first point, at 
  2593. which time their locations are fixed and they are colored randomly.  This 
  2594. process repeats until the fractals reaches the edge of the screen.  Use the 
  2595. show orbits function to see the points' random motion. 
  2596.  
  2597. One unfortunate problem is that on a large screen, this process will tend to 
  2598. take eons.  To speed things up, the points are restricted to a box around the 
  2599. initial point.  The first and only parameter to diffusion contains the size of 
  2600. the border between the fractal and the edge of the box.  If you make this 
  2601. number small, the fractal will look more solid and will be generated more 
  2602. quickly. 
  2603.  
  2604. Diffusion was inspired by a Scientific American article a couple of years back 
  2605. which includes actual pictures of real physical phenomena that behave like 
  2606. this. 
  2607.  
  2608. Thanks to Adrian Mariano for providing the diffusion code and documentation. 
  2609.  
  2610. Select below for details on the formula. 
  2611.  
  2612.  diffusion formula 
  2613.  
  2614.  
  2615. ΓòÉΓòÉΓòÉ 5.35. Magnetic Fractals ΓòÉΓòÉΓòÉ
  2616.  
  2617.  
  2618. (type=magnet1m/.../magnet2j) 
  2619.  
  2620. These fractals use formulae derived from the study of hierarchical lattices, in 
  2621. the context of magnetic renormalisation transformations. This kinda stuff is 
  2622. useful in an area of theoretical physics that deals with magnetic 
  2623. phase-transitions (predicting at which temperatures a given substance will be 
  2624. magnetic, or non-magnetic).  In an attempt to clarify the results obtained for 
  2625. Real temperatures (the kind that you and I can feel), the study moved into the 
  2626. realm of Complex Numbers, aiming to spot Real phase-transitions by finding the 
  2627. intersections of lines representing Complex phase-transitions with the Real 
  2628. Axis.  The first people to try this were two physicists called Yang and Lee, 
  2629. who found the situation a bit more complex than first expected, as the phase 
  2630. boundaries for Complex temperatures are (surprise!) fractals. 
  2631.  
  2632. And that's all the technical (?) background you're getting here!  For more 
  2633. details (are you SERIOUS ?!) read "The Beauty of Fractals".  When you 
  2634. understand it all, you might like to re-write this section, before you start 
  2635. your new job as a professor of theoretical physics... 
  2636.  
  2637. In Fractint terms, the important bits of the above are "Fractals", "Complex 
  2638. Numbers", "Formulae", and "The Beauty of Fractals".  Lifting the Formulae 
  2639. straight out of the Book and iterating them over the Complex plane (just like 
  2640. the Mandelbrot set) produces Fractals. 
  2641.  
  2642. The formulae are a bit more complicated than the Z^2+C used for the Mandelbrot 
  2643. Set, that's all.  They are: 
  2644.  
  2645.                   Γöî               ΓöÉ
  2646.                   Γöé  Z^2 + (C-1)  Γöé
  2647.         MAGNET1 : Γöé ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ Γöé ^ 2
  2648.                   Γöé  2ΓêÖZ + (C-2)  Γöé
  2649.                   Γöö               Γöÿ
  2650.                   Γöî                                         ΓöÉ
  2651.                   Γöé      Z^3 + 3ΓêÖ(C-1)ΓêÖZ + (C-1)ΓêÖ(C-2)      Γöé
  2652.         MAGNET2 : Γöé ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ Γöé ^ 2
  2653.                   Γöé  3ΓêÖ(Z^2) + 3ΓêÖ(C-2)ΓêÖZ + (C-1)ΓêÖ(C-2) - 1  Γöé
  2654.                   Γöö                                         Γöÿ
  2655.  
  2656. These aren't quite as horrific as they look (oh yeah ?!) as they only involve 
  2657. two variables (Z and C), but cubing things, doing division, and eventually 
  2658. squaring the result (all in Complex Numbers) don't exactly spell S-p-e-e-d ! 
  2659. These are NOT the fastest fractals in Fractint ! 
  2660.  
  2661. As you might expect, for both formulae there is a single related 
  2662. Mandelbrot-type set (magnet1m, magnet2m) and an infinite number of related 
  2663. Julia-type sets (magnet1j, magnet2j), with the usual toggle between the 
  2664. corresponding Ms and Js via the spacebar. 
  2665.  
  2666. If you fancy delving into the Julia-types by hand, you will be prompted for the 
  2667. Real and Imaginary parts of the parameter denoted by C.  The result is 
  2668. symmetrical about the Real axis (and therefore the initial image gets drawn in 
  2669. half the usual time) if you specify a value of Zero for the Imaginary part of 
  2670. C. 
  2671.  
  2672. Fractint Historical Note:  Another complication (besides the formulae) in 
  2673. implementing these fractal types was that they all have a finite attractor (1.0 
  2674. + 0.0i), as well as the usual one (Infinity).  This fact spurred the 
  2675. development of Finite Attractor logic in Fractint.  Without this code you can 
  2676. still generate these fractals, but you usually end up with a pretty boring 
  2677. image that is mostly deep blue "lake", courtesy of Fractint's standard 
  2678. {Periodicity Logic}. See {Finite Attractors} for more information on this 
  2679. aspect of Fractint internals. 
  2680.  
  2681. (Thanks to Kevin Allen for Magnetic type documentation above). 
  2682.  
  2683. Select below for details on each formula. 
  2684.  
  2685.  magnet1m formula 
  2686.  
  2687.  magnet2m formula 
  2688.  
  2689.  magnet1j formula 
  2690.  
  2691.  magnet2j formula 
  2692.  
  2693.  
  2694. ΓòÉΓòÉΓòÉ 5.36. L-Systems ΓòÉΓòÉΓòÉ
  2695.  
  2696.  
  2697. (type=lsystem) 
  2698.  
  2699. These fractals are constructed from line segments using rules specified in 
  2700. drawing commands.  Starting with an initial string, the axiom, transformation 
  2701. rules are applied a specified number of times, to produce the final command 
  2702. string which is used to draw the image. 
  2703.  
  2704. Like the type=formula fractals, this type requires a separate data file. A 
  2705. sample file, FRACTINT.L, is included with this distribution.  When you select 
  2706. type lsystem, the current lsystem file is read and you are asked for the 
  2707. lsystem name you wish to run. Press <F6> at this point if you wish to use a 
  2708. different lsystem file. After selecting an lsystem, you are asked for one 
  2709. parameter - the "order", or number of times to execute all the transformation 
  2710. rules.  It is wise to start with small orders, because the size of the 
  2711. substituted command string grows exponentially and it is very easy to exceed 
  2712. your resolution.  (Higher orders take longer to generate too.)  The command 
  2713. line options "lname=" and "lfile=" can be used to over- ride the default file 
  2714. name and lsystem name. 
  2715.  
  2716. Each L-System entry in the file contains a specification of the angle, the 
  2717. axiom, and the transformation rules.  Each item must appear on its own line and 
  2718. each line must be less than 160 characters long. 
  2719.  
  2720. The statement "angle n" sets the angle to 360/n degrees; n must be an integer 
  2721. greater than two and less than fifty. 
  2722.  
  2723. "Axiom string" defines the axiom. 
  2724.  
  2725. Transformation rules are specified as "a=string" and convert the single 
  2726. character 'a' into "string."  If more than one rule is specified for a single 
  2727. character all of the strings will be added together.  This allows specifying 
  2728. transformations longer than the 160 character limit. Transformation rules may 
  2729. operate on any characters except space, tab or '}'. 
  2730.  
  2731. Any information after a ; (semi-colon) on a line is treated as a comment. 
  2732.  
  2733. Here is a sample lsystem: 
  2734.  
  2735. Dragon {         ; Name of lsystem, { indicates start
  2736.   Angle 8        ; Specify the angle increment to 45 degrees
  2737.   Axiom FX       ; Starting character string
  2738.   F=             ; First rule:  Delete 'F'
  2739.   y=+FX--FY+     ; Change 'y' into  "+fx--fy+"
  2740.   x=-FX++FY-     ; Similar transformation on 'x'
  2741.  }               ; final } indicates end
  2742.  
  2743. The standard drawing commands are: 
  2744.  
  2745. F         Draw forward 
  2746. G         Move forward (without drawing) 
  2747. +         Increase angle 
  2748. -         Decrease angle 
  2749. |         Try to turn 180 degrees. (If angle is odd, the turn will be the 
  2750.           largest possible turn less than 180 degrees.) 
  2751.  
  2752. These commands increment angle by the user specified angle value. They should 
  2753. be used when possible because they are fast. If greater flexibility is needed, 
  2754. use the following commands which keep a completely separate angle pointer which 
  2755. is specified in degrees. 
  2756.  
  2757. D         Draw forward 
  2758. M         Move forward 
  2759. \nn       Increase angle nn degrees 
  2760. /nn       Decrease angle nn degrees 
  2761.  
  2762. Color control: 
  2763.  
  2764. Cnn       Select color nn 
  2765. <nn       Increment color by nn 
  2766. >nn       decrement color by nn 
  2767.  
  2768. Advanced commands: 
  2769.  
  2770. !         Reverse directions (Switch meanings of +, - and \, /) 
  2771. @nnn      Multiply line segment size by nnn 
  2772.  
  2773.           nnn may be a plain number, or may be preceded by I for inverse, or Q 
  2774.           for square root. (e.g.  @IQ2 divides size by the square root of 2) 
  2775. [         Push.  Stores current angle and position on a stack 
  2776. ]         Pop.  Return to location of last push 
  2777.  
  2778. Other characters are perfectly legal in command strings.  They are ignored for 
  2779. drawing purposes, but can be used to achieve complex translations. 
  2780.  
  2781.  
  2782. ΓòÉΓòÉΓòÉ 5.37. Lyapunov Fractals ΓòÉΓòÉΓòÉ
  2783.  
  2784.  
  2785. (type=lyapunov) 
  2786.  
  2787. The Bifurcation fractal illustrates what happens in a simple population model 
  2788. as the growth rate increases.  The Lyapunov fractal expands that model into two 
  2789. dimensions by letting the growth rate vary in a periodic fashion between two 
  2790. values.  Each pair of growth rates is run through a logistic population model 
  2791. and a value called the Lyapunov Exponent is calculated for each pair and is 
  2792. plotted. The Lyapunov Exponent is calculated by adding up log | r -2*r*x| over 
  2793. many cycles of the population model and dividing by the number of cycles. 
  2794. Negative Lyapunov exponents indicate a stable periodic behavior and are plotted 
  2795. in color. Positive Lyapunov exponents indicate chaos and are colored black. 
  2796. Order parameter. 
  2797.  
  2798. Each possible periodic sequence yields a two dimensional space to explore. The 
  2799. Order parameter selects a sequence.  The default value 0 represents the 
  2800. sequence ab which alternates between the two values of the growth parameter. 
  2801. Here is how to calculate the space parameter for any desired sequence.  Take 
  2802. your sequence of a's and b's and arrange it so that it starts with at least 2 
  2803. a's and ends with a b. It may be necessary to rotate the sequence or swap a's 
  2804. and b's. Strike the first a and the last b off the list and replace each 
  2805. remaining a with a 1 and each remaining b with a zero. Interpret this as a 
  2806. binary number and convert it into decimal. 
  2807. An Example 
  2808.  
  2809. I like sonnets.  A sonnet is a poem with fourteen lines that has the following 
  2810. rhyming sequence: abba abba abab cc.  Ignoring the rhyming couplet at the end, 
  2811. let's calculate the Order parameter for this pattern. 
  2812.  
  2813.   abbaabbaabab         doesn't start with at least 2 a's \
  2814.   aabbaabababb         rotate it \
  2815.   1001101010           drop the first and last, replace with 0's and 1's \
  2816.   512+64+32+8+2 = 618
  2817.  
  2818. An Order parameter of 618 gives the Lyapunov equivalent of a sonnet.  "How do I 
  2819. make thee, let me count the ways..." 
  2820. Population Seed 
  2821.  
  2822. When two parts of a Lyapunov overlap, which spike overlaps which is strongly 
  2823. dependant on the initial value of the population model.  Any changes from using 
  2824. a different starting value between 0 and 1 may be subtle. 
  2825. Reference: 
  2826.  
  2827. A.K. Dewdney Mathematical Recreations Scientific American Sept. 1991 
  2828.  
  2829.  
  2830. ΓòÉΓòÉΓòÉ 6. Miscellaneous Topics ΓòÉΓòÉΓòÉ
  2831.  
  2832. The following are interesting topics from the Fractint for DOS documentation. 
  2833.  
  2834. o Biomorphs 
  2835.  
  2836. o Distance Estimator Method 
  2837.  
  2838. o Acrospin 
  2839.  
  2840. o Decomposition 
  2841.  
  2842. o GIF File Format 
  2843.  
  2844. o Bibliography 
  2845.  
  2846. o Palette Maps 
  2847.  
  2848.  
  2849. ΓòÉΓòÉΓòÉ 6.1. Biomorphs ΓòÉΓòÉΓòÉ
  2850.  
  2851. Related to  Decomposition are the "biomorphs" invented by Clifford Pickover, 
  2852. and discussed by A. K. Dewdney in the July 1989 "Scientific American", page 
  2853. 110.  These are so-named because this coloring scheme makes many fractals look 
  2854. like one-celled animals.  The idea is simple. The escape-time algorithm 
  2855. terminates an iterating formula when the size of the orbit value exceeds a 
  2856. predetermined bailout value. Normally the pixel corresponding to that orbit is 
  2857. colored according to the iteration when bailout happened. To create biomorphs, 
  2858. this is modified so that if EITHER the real OR the imaginary component is LESS 
  2859. than the bailout, then the pixel is set to the "biomorph" color. The effect is 
  2860. a bit better with higher bailout values: the bailout is automatically set to 
  2861. 100 when this option is in effect. You can try other values with the "bailout=" 
  2862. option. 
  2863.  
  2864. The biomorph option is turned on via the "biomorph=nnn" command-line option 
  2865. (where "nnn" is the color to use on the affected pixels).  When toggling to 
  2866. Julia sets, the default corners are three times bigger than normal to allow 
  2867. seeing the biomorph appendages. Does not work with all types - in particular it 
  2868. fails with any of the mandelsine family. However, if you are stuck with 
  2869. monochrome graphics, try it - works great in two- color modes. Try it with the 
  2870. marksmandel and marksjulia types. 
  2871.  
  2872.  
  2873. ΓòÉΓòÉΓòÉ 6.2. Distance Estimator Method ΓòÉΓòÉΓòÉ
  2874.  
  2875. This is Phil Wilson's implementation of an alternate method for the M and J 
  2876. sets, based on work by mathematician John Milnor and described in "The Science 
  2877. of Fractal Images", p. 198.  While it can take full advantage of your color 
  2878. palette, one of the best uses is in preparing monochrome images for a 
  2879. printer.    Using the 1600x1200x2 disk-video mode and an HP LaserJet, we have 
  2880. produced pictures of quality equivalent to the black and white illustrations of 
  2881. the M-set in "The Beauty of Fractals." 
  2882.  
  2883. The distance estimator method widens very thin "strands" which are part of the 
  2884. "inside" of the set.  Instead of hiding invisibly between pixels, these strands 
  2885. are made one pixel wide. 
  2886.  
  2887. Though this option is available with any escape time fractal type, the formula 
  2888. used is specific to the mandel and julia types - for most other types it 
  2889. doesn't do a great job. 
  2890.  
  2891. To turn on the distance estimator method with any escape time  fractal type, 
  2892. set the "Distance Estimator" value on the <Y> options screen (or use the 
  2893. "distest=" command line parameter). 
  2894.  
  2895. Setting the distance estimator option to a negative value -nnn enables 
  2896. edge-tracing mode.  The edge of the set is display as color number nnn. This 
  2897. option works best when the "inside" and "outside" color values are also set to 
  2898. some other value(s). 
  2899.  
  2900. In a 2 color (monochrome) mode, setting to any positive value results in the 
  2901. inside of the set being expanded to include edge points, and the outside points 
  2902. being displayed in the other color. 
  2903.  
  2904. In color modes, setting to value 1 causes the edge points to be displayed using 
  2905. the inside color and the outside points to be displayed in their usual colors. 
  2906. Setting to a value greater than one causes the outside points to be displayed 
  2907. as contours, colored according to their distance from the inside of the set. 
  2908. Use a higher value for narrower color bands, a lower value for wider ones. 
  2909. 1000 is a good value to start with. 
  2910.  
  2911. The second distance estimator parameter ("width factor") sets the distance from 
  2912. the inside of the set which is to be considered as part of the inside.  This 
  2913. value is expressed as a percentage of a pixel width, the default is 71. 
  2914.  
  2915. You should use 1 or 2 pass mode with the distance estimator method, to avoid 
  2916. missing some of the thin strands made visible by it.  For the highest quality, 
  2917. "maxiter" should also be set to a high value, say 1000 or so.  You'll probably 
  2918. also want "inside" set to zero, to get a black interior. 
  2919.  
  2920. Enabling the distance estimator method automatically toggles to floating point 
  2921. mode. When you reset distest back to zero, remember to also turn off floating 
  2922. point mode if you want it off. 
  2923.  
  2924. Unfortunately, images using the distance estimator method can take many hours 
  2925. to calculate even on a fast machine with a coprocessor, especially if a high 
  2926. "maxiter" value is used.  One way of dealing with this is to leave it turned 
  2927. off while you find and frame an image.    Then hit <B> to save the current image 
  2928. information in a parameter file (see {Parameter Save/Restore Commands}).  Use 
  2929. an editor to change the parameter file entry, adding "distest=1", 
  2930. "video=something" to select a high- resolution monochrome disk-video mode, 
  2931. "maxiter=1000", and "inside=0". Run the parameter file entry with the <@> 
  2932. command when you won't be needing your machine for a while (over the weekend?) 
  2933.  
  2934.  
  2935. ΓòÉΓòÉΓòÉ 6.3. Acrospin ΓòÉΓòÉΓòÉ
  2936.  
  2937. ACROSPIN, by David Parker - An inexpensive commercial program that reads an 
  2938. object definition file and creates images that can be rapidly rotated in three 
  2939. dimensions. The Fractint "orbitsave=yes" option creates files that this program 
  2940. can read for orbit-type fractals and IFS fractals. Contact: 
  2941.  
  2942.    David Parker                         801-966-2580
  2943.    P O Box 26871                        800-227-6248
  2944.    Salt Lake City, UT  84126-0871
  2945.  
  2946.  
  2947. ΓòÉΓòÉΓòÉ 6.4. Decomposition ΓòÉΓòÉΓòÉ
  2948.  
  2949. You'll remember that most fractal types are calculated by iterating a simple 
  2950. function of a complex number, producing another complex number, until either 
  2951. the number exceeds some pre-defined "bailout" value, or the iteration limit is 
  2952. reached. The pixel corresponding to the starting point is then colored based on 
  2953. the result of that calculation. 
  2954.  
  2955. The decomposition option ("decomp=", on the <X> screen) toggles to another 
  2956. coloring protocol.  Here the points are colored according to which quadrant of 
  2957. the complex plane (negative real/positive imaginary, positive real/positive 
  2958. imaginary, etc.) the final value is in. If you use 4 as the parameter, points 
  2959. ending up in each quadrant are given their own color; if 2 (binary 
  2960. decomposition), points in alternating quadrants are given 2 alternating colors. 
  2961.  
  2962. The result is a kind of warped checkerboard coloring, even in areas that would 
  2963. ordinarily be part of a single contour. Remember, for the M-set all points 
  2964. whose final values exceed 2 (by any amount) after, say, 80 iterations are 
  2965. normally the same color; under decomposition, Fractint runs [bailout-value] 
  2966. iterations and then colors according to where the actual final value falls on 
  2967. the complex plane. 
  2968.  
  2969. When using decomposition, a higher bailout value will give a more accurate 
  2970. plot, at some expense in speed.  You might want to set the bailout value (in 
  2971. the parameters prompt following selection of a new fractal type; present for 
  2972. most but not all types) to a higher value than the default.  A value of about 
  2973. 50 is a good compromise for M/J sets. 
  2974.  
  2975.  
  2976. ΓòÉΓòÉΓòÉ 6.5. GIF Save File Format ΓòÉΓòÉΓòÉ
  2977.  
  2978. Since version 5.0, Fractint has had the <S>ave-to-disk command, which stores 
  2979. screen images in the extremely compact, flexible .GIF (Graphics Interchange 
  2980. Format) widely supported on Compuserve. Version 7.0 added the 
  2981. <R>estore-from-disk capability. 
  2982.  
  2983. Until version 14, Fractint saved images as .FRA files, which were a 
  2984. non-standard extension of the then-current GIF87a specification.  The reason 
  2985. was that GIF87a did not offer a place to store the extra information needed by 
  2986. Fractint to implement the <R> feature -- i.e., the parameters that let you keep 
  2987. zooming, etc. as if the restored file had just been created in this session. 
  2988. The .FRA format worked with all of the popular GIF decoders that we tested, but 
  2989. these were not true GIF files. For one thing, information after the GIF 
  2990. terminator (which is where we put the extra info) has the potential to confuse 
  2991. the on-line GIF viewers used on Compuserve. For another, it is the opinion of 
  2992. some GIF developers that the addition of this extra information violates the 
  2993. GIF87a spec. That's why we used the default filetype .FRA instead. 
  2994.  
  2995. Since version 14, Fractint has used a genuine .GIF format, using the GIF89a 
  2996. spec - an upwardly compatible extension of GIF87a, released by Compuserve on 
  2997. August 1 1990. This new spec allows the placement of application data within 
  2998. "extension blocks". In version 14 we changed our default savename extension 
  2999. from .FRA to .GIF. 
  3000.  
  3001. There is one significant advantage to the new GIF89a format compared to the old 
  3002. GIF87a-based .FRA format for Fractint purposes:  the new .GIF files may be 
  3003. uploaded to the Compuserve graphics forums (such as Fractint's home forum, 
  3004. COMART) with fractal information intact.  Therefore anyone downloading a 
  3005. Fractint image from Compuserve will also be downloading all the information 
  3006. needed to regenerate the image. 
  3007.  
  3008. Fractint can still read .FRA files generated by earlier versions.  If for some 
  3009. reason you wish to save files in the older GIF87a format, for example because 
  3010. your favorite GIF decoder has not yet been upgraded to GIF89a, use the 
  3011. command-line parameter "GIF87a=yes". Then any saved files will use the original 
  3012. GIF87a format without any application-specific information. 
  3013.  
  3014. An easy way to convert an older .FRA file into true .GIF format suitable for 
  3015. uploading is something like this at the DOS prompt: 
  3016.  
  3017. FRACTINT MYFILE.FRA SAVENAME=MYFILE.GIF BATCH=YES
  3018. Fractint will load MYFILE.FRA, save it in true .GIF format as MYFILE.GIF, and 
  3019. return to DOS. 
  3020.  
  3021. GIF and "Graphics Interchange Format" are trademarks of Compuserve 
  3022. Incorporated, an H&R Block Company. 
  3023.  
  3024.  
  3025. ΓòÉΓòÉΓòÉ 6.6. Bibliography ΓòÉΓòÉΓòÉ
  3026.  
  3027. BARNSLEY, Michael: "Fractals Everywhere", Academic Press, 1988. 
  3028.  
  3029. DEWDNEY, A. K., "Computer Recreations" columns in "Scientific American" -- 
  3030. 8/85, 7/87, 11/87, 12/88, 7/89. 
  3031.  
  3032. FEDER, Jens: "Fractals", Plenum, 1988. 
  3033.  
  3034. Quite technical, with good coverage of applications in fluid percolation, game 
  3035. theory, and other areas. 
  3036.  
  3037. GLEICK, James: "Chaos: Making a New Science", Viking Press, 1987. 
  3038.  
  3039. The best non-technical account of the revolution in our understanding of 
  3040. dynamical systems and its connections with fractal geometry. 
  3041.  
  3042. MANDELBROT, Benoit: "The Fractal Geometry of Nature", W. H. Freeman & Co., 
  3043. 1982. 
  3044.  
  3045. An even more revised and expanded version of the 1977 work. A rich and 
  3046. sometimes confusing stew of formal and informal mathematics, the prehistory of 
  3047. fractal geometry, and everything else. Best taken in small doses. 
  3048.  
  3049. MANDELBROT, Benoit: "Fractals: Form, Chance, and Dimension", W. H. Freeman & 
  3050. Co., 1977 
  3051.  
  3052. A much revised translation of "Les objets fractals: forme, hasard, et 
  3053. dimension," Flammarion, 1975. 
  3054.  
  3055. PEITGEN, Heinz-Otto & RICHTER, Peter: "The Beauty of Fractals," Springer- 
  3056. Verlag, 1986. 
  3057.  
  3058. THE coffee-table book of fractal images, knowledgeable on computer graphics as 
  3059. well as the mathematics they portray. 
  3060.  
  3061. PEITGEN, Heinz-Otto & SAUPE, Ditmar: "The Science of Fractal Images," 
  3062. Springer-Verlag, 1988. 
  3063.  
  3064. A fantastic work, with a few nice pictures, but mostly filled with 
  3065. *equations*!!! 
  3066.  
  3067. WEGNER, Timothy & PETERSON, Mark: "Fractal Creations", Waite Group Press, 1991. 
  3068.  
  3069. If we tell you how *wonderful* this book is you might think we were bragging, 
  3070. so let's just call it:  THE definitive companion to Fractint! 
  3071.  
  3072.  
  3073. ΓòÉΓòÉΓòÉ 6.7. Palette Maps ΓòÉΓòÉΓòÉ
  3074.  
  3075. If you have a VGA, MCGA, Super-VGA, 8514/A, XGA, TARGA, or TARGA+ video 
  3076. adapter, you can save and restore color palettes for use with any image.  To 
  3077. load a palette onto an existing image, use the  File/Read Color Map command. To 
  3078. save a palette, use the  File/Write Color Map command. To change the default 
  3079. palette for an entire run, use the command line "map=" parameter. 
  3080.  
  3081. The default filetype for color-map files is ".MAP". 
  3082.  
  3083. These color-maps are ASCII text files set up as a series of RGB triplet values 
  3084. (one triplet per line, encoded as the red, green, and blue [RGB] components of 
  3085. the color). 
  3086.  
  3087. Note that .MAP file color values are in GIF format - values go from 0 (low) to 
  3088. 255 (high), so for a VGA adapter they get divided by 4 before being stuffed 
  3089. into the VGA's Video-DAC registers (so '6' and '7' end up referring to the same 
  3090. color value). 
  3091.  
  3092. PMFRACT is distributed with some sample .MAP files: 
  3093.  
  3094. ALTERN.MAP               the famous "Peterson-Vigneau Pseudo-Grey Scale" 
  3095.  
  3096. BLUES.MAP                for rainy days, by Daniel Egnor 
  3097.  
  3098. CHROMA.MAP               general purpose, chromatic 
  3099.  
  3100. DEFAULT.MAP              the VGA start-up values 
  3101.  
  3102. FIRESTRM.MAP             general purpose, muted fire colors 
  3103.  
  3104. GAMMA1.MAP and GAMMA2.MAP Lee Crocker's response to ALTERN.MAP 
  3105.  
  3106. GLASSES1.MAP             used with 3d glasses modes 
  3107.  
  3108. GLASSES2.MAP             used with 3d glasses modes 
  3109.  
  3110. GOODEGA.MAP              for EGA users 
  3111.  
  3112. GREEN.MAP                shaded green 
  3113.  
  3114. GREY.MAP                 another grey variant 
  3115.  
  3116. GRID.MAP                 for stereo surface grid images 
  3117.  
  3118. HEADACHE.MAP             major stripes, by D. Egnor (try cycling and hitting 
  3119.                          <2>) 
  3120.  
  3121. LANDSCAP.MAP             Guruka Singh Khalsa's favorite map for plasma 
  3122.                          "landscapes" 
  3123.  
  3124. NEON.MAP                 a flashy map, by Daniel Egnor 
  3125.  
  3126. PAINTJET.MAP             high resolution mode PaintJet colors 
  3127.  
  3128. ROYAL.MAP                the royal purple, by Daniel Egnor 
  3129.  
  3130. TOPO.MAP                 Monte Davis's contribution to full color terrain 
  3131.  
  3132. VOLCANO.MAP              an explosion of lava, by Daniel Egnor 
  3133.  
  3134. COV1.MAP and COV2.MAP    the continuous spectrum 256-color palettes described 
  3135.                          in the article "HAX 9 - A Better 256-Color VGA 
  3136.                          Palette", PC Techniques Vol. 1, No. 2, June/July 1990, 
  3137.                          page 8. 
  3138.  
  3139. PLASMA.MAP               the Fractint for DOS 256-color palette used for the 
  3140.                          PLASMA display. 
  3141.  
  3142.  
  3143. ΓòÉΓòÉΓòÉ 7. Settings Selections ΓòÉΓòÉΓòÉ
  3144.  
  3145. Settings are the parameters and options that determine how the program will 
  3146. evaluate the selected fractal formula. 
  3147.  
  3148. Settings come in the following flavors: 
  3149.  
  3150. o Extents 
  3151.  
  3152. o Parameters 
  3153.  
  3154. o Options 
  3155.  
  3156. o Image Settings 
  3157.  
  3158. o Palette Switching 
  3159.  
  3160.  
  3161. ΓòÉΓòÉΓòÉ 7.1. Extents ΓòÉΓòÉΓòÉ
  3162.  
  3163. The Extents of the fractal are the range of the complex plane over which the 
  3164. fractal will be calculated. 
  3165.  
  3166. The numbers that can be entered are limited, and will be automatically adjusted 
  3167. if entered out of limits. This can be because of restrictions in the fractal 
  3168. calculation algorithms, or just because looking at a wider range lacks detail 
  3169. and is therefore uninteresting. 
  3170.  
  3171. If you are interested in zeroing in at a particular complex number, that value 
  3172. can be entered as the "Center" X and Y values. The Left, Right, Top, and Bottom 
  3173. values will then be automatically adjusted to make that value the center but 
  3174. stay in acceptable limits. 
  3175.  
  3176. When entry is complete, select OK, or press Enter. To exit with no changes, 
  3177. select Cancel, or press Escape. To see the default (built-in) values, press 
  3178. Default. To proceed with the default values, press Default, then OK. Exiting 
  3179. with OK will cause the fractal to be recalculated over the new extents. 
  3180.  
  3181. Extents come in the following flavors: 
  3182.  
  3183. o X Range 
  3184.  
  3185. o Y Range 
  3186.  
  3187.  
  3188. ΓòÉΓòÉΓòÉ 7.1.1. X Range ΓòÉΓòÉΓòÉ
  3189.  
  3190. The "X Range" values are the left and right (lower and upper) decimal numbers 
  3191. that define the rectangle's range in the X, or real, or left-to-right range of 
  3192. the complex plane. 
  3193.  
  3194. The numbers that can be entered are limited, and will be automatically adjusted 
  3195. if entered out of limits. This can be because of restrictions in the fractal 
  3196. calculation algorithms, or just because looking at a wider range lacks detail 
  3197. and is therefore uninteresting. 
  3198.  
  3199. If you are interested in zeroing in at a particular complex number, that value 
  3200. can be entered as the "Center" X and Y values. The Left, Right, Top, and Bottom 
  3201. values will then be automatically adjusted to make that value the center but 
  3202. stay in acceptable limits. 
  3203.  
  3204. When entry is complete, select OK, or press Enter. To exit with no changes, 
  3205. select Cancel, or press Escape. To see the default (built-in) values, press 
  3206. Default. To proceed with the default values, press Default, then OK. Exiting 
  3207. with OK will cause the fractal to be recalculated over the new extents. 
  3208.  
  3209.  
  3210. ΓòÉΓòÉΓòÉ 7.1.2. Y Range ΓòÉΓòÉΓòÉ
  3211.  
  3212. The "Y Range" values are the top and bottom (upper and lower) decimal numbers 
  3213. that define the rectangle's range in the Y, or imaginary, or top-to-bottom 
  3214. range of the complex plane. 
  3215.  
  3216. The numbers that can be entered are limited, and will be automatically adjusted 
  3217. if entered out of limits. This can be because of restrictions in the fractal 
  3218. calculation algorithms, or just because looking at a wider range lacks detail 
  3219. and is therefore uninteresting. 
  3220.  
  3221. If you are interested in zeroing in at a particular complex number, that value 
  3222. can be entered as the "Center" X and Y values. The Left, Right, Top, and Bottom 
  3223. values will then be automatically adjusted to make that value the center but 
  3224. stay in acceptable limits. 
  3225.  
  3226. When entry is complete, select OK, or press Enter. To exit with no changes, 
  3227. select Cancel, or press Escape. To see the default (built-in) values, press 
  3228. Default. To proceed with the default values, press Default, then OK. Exiting 
  3229. with OK will cause the fractal to be recalculated over the new extents. 
  3230.  
  3231.  
  3232. ΓòÉΓòÉΓòÉ 7.2. Parameters ΓòÉΓòÉΓòÉ
  3233.  
  3234. The Parameters of each fractal algorithm are described by a short title, which 
  3235. appears above the entry field for each of the (up to) four parameters. 
  3236.  
  3237. Parameters that don't apply to a given fractal type will have no title, and the 
  3238. entry field will be inaccessible. 
  3239.  
  3240. For information on what the parameters mean, just select "Help" and the fractal 
  3241. formula with the explaination of the parameters will be displayed. 
  3242.  
  3243. When entry is complete, select OK, or press Enter. To exit with no changes, 
  3244. select Cancel, or press Escape. To see the default (built-in) values, press 
  3245. Default. To proceed with the default values, press Default, then OK. Exiting 
  3246. with OK will cause the fractal to be recalculated with the new parameters. 
  3247.  
  3248.  
  3249. ΓòÉΓòÉΓòÉ 8. Operation Instructoins ΓòÉΓòÉΓòÉ
  3250.  
  3251.  
  3252. Copyright Copyright (C) 1992 The Stone Soup Group.  FRACTINT for OS/2 2.0 may 
  3253. be freely copied and distributed, but may not be sold. 
  3254.  
  3255. GIF and "Graphics Interchange Format" are trademarks of Compuserve 
  3256. Incorporated, an H&R Block Company. 
  3257.  
  3258. Select a topic from the following list for information on using this program. 
  3259.  
  3260.  What's New 
  3261.  
  3262.  Introduction 
  3263.  
  3264.  History of this program 
  3265.  
  3266.  Distribution policy 
  3267.  
  3268.  Contacting the author 
  3269.  
  3270.  Fractal Types 
  3271.  
  3272.  Miscellaneous topics 
  3273.  
  3274.  Program Operation 
  3275.  
  3276.  
  3277. ΓòÉΓòÉΓòÉ 8.1. How to operate FRACTINT for OS/2 2.0 ΓòÉΓòÉΓòÉ
  3278.  
  3279. FRACTINT for OS/2 2.0 operates from the menu via either a mouse or a keyboard. 
  3280. However, zooming and panning using either  View/Pan Center or the  View/Zoom 
  3281. In/Zoom Out works only with a mouse. To change the are of the fractal viewed 
  3282. using the keyboard, change the extents and/or center using  Settings/Extents. 
  3283.  
  3284. Select a topic below for additional information. 
  3285.  
  3286.  Main Menu 
  3287.  
  3288.  Zooming and Panning 
  3289.  
  3290.  File menu 
  3291.  
  3292.  Edit menu 
  3293.  
  3294.  View menu 
  3295.  
  3296.  Settings menu 
  3297.  
  3298.  Help menu 
  3299.  
  3300.  
  3301. ΓòÉΓòÉΓòÉ 8.2. Main Menu ΓòÉΓòÉΓòÉ
  3302.  
  3303. The main controls are the fifth and sixth menu bar entries. The fifth entry 
  3304. switches between "Halt!" and "Freeze!". When "Halt!" is displayed, it implies 
  3305. that a fractal is being calculated and drawn, and if you want to stop the 
  3306. calculation, select "Halt!" and it will stop shortly. When "Freeze!" is 
  3307. displayed, a calculation is not in progress and selecting "Freeze!" will cause 
  3308. a calculation to not automatically start, as it would after selecting values 
  3309. from either the View, Settings, or File pull-downs, but will wait for an 
  3310. explicit "Go!" menu selection. 
  3311.  
  3312. When you get tired of consuming computer resources looking at pretty pictures, 
  3313. the File/Exit selection will shut down the program. 
  3314.  
  3315.  
  3316. ΓòÉΓòÉΓòÉ 8.3. Zooming or Panning ΓòÉΓòÉΓòÉ
  3317.  
  3318. To see a smaller part of the fractal, blown up to full screen size, use 
  3319. selections from the View/Zoom In or View/Zoom Out menu. View changing with the 
  3320. mouse is Object/Action oriented, as the IBM SAA guidelines expect. Zoom In or 
  3321. Zoom Out select magnification or reduction by either a fixed or selectable 
  3322. amount around the current center of the display. Click the left mouse button to 
  3323. display cross-hairs. View/Pan Center then pans to this point. To Zoom to a 
  3324. window, click and drag the left mouse button to outline a rectangle. Then 
  3325. either pick View/Zoom In/to Window to zoom in, or View/Zoom Out/to Window to 
  3326. zoom out. 
  3327.  
  3328.  
  3329. ΓòÉΓòÉΓòÉ 8.4. File menu ΓòÉΓòÉΓòÉ
  3330.  
  3331. The File menu allows you to select a fractal, read a .GIF, .BMP, or .PCX file 
  3332. into the program, write the current fractal/window out as a .GIF, .BMP, or 
  3333. .PCX, print the current window contents, or load or save palette files. 
  3334.  
  3335. The following selections are on the File menu. 
  3336.  
  3337.  New 
  3338.  
  3339.  Open 
  3340.  
  3341.  Save as 
  3342.  
  3343.  Print 
  3344.  
  3345.  Target Printer 
  3346.  
  3347.  Read Color Map 
  3348.  
  3349.  Write Color Map 
  3350.  
  3351.  
  3352. ΓòÉΓòÉΓòÉ 8.4.1. New ΓòÉΓòÉΓòÉ
  3353.  
  3354. The File/New selection allows you to select a fractal type from a dialog box. 
  3355.  
  3356. The current fractal, even if not yet complete, will be completely replaced by 
  3357. the new fractal. 
  3358.  
  3359. To set extents, parameters, or options for this fractal, use selections from 
  3360. the  Settings menu. 
  3361.  
  3362.  
  3363. ΓòÉΓòÉΓòÉ 8.4.2. Open ΓòÉΓòÉΓòÉ
  3364.  
  3365. File/Open reads in a .GIF file (saved by one of the FRACTINT family programs) 
  3366. to view, a variety of Bitmap (BMP) formats, or the PC Paintbrush .PCX format. 
  3367.  
  3368. A .GIF file created by other than a FRACTINT family program, or any bitmap or 
  3369. PCX file, will be restored as a PLASMA fractal, which is not zoomable or 
  3370. otherwise editable. 
  3371.  
  3372. The program can read the following types of bitmaps: 
  3373.  
  3374. o OS/2 1.x bitmaps 
  3375.  
  3376. o Windows 3.0 device independent bitmaps (DIBs) 
  3377.  
  3378. o Windows 3.0 DIBs compressed as RLE4 or RLE8 
  3379.  
  3380. o OS/2 2.0 bitmaps 
  3381.  
  3382. o OS/2 2.0 bitmaps compressed as RLE4 or RLE8 
  3383.  
  3384. Indicating any of the bitmap formats will allow you to read any of the 
  3385. indicated formats: i.e. the program will figure out what the format is from the 
  3386. file contents. This is because I don't see any easy way for you as the user to 
  3387. know what format bitmap you have just by looking at the filename (at least I 
  3388. can't). 
  3389.  
  3390. After indicating the type of file to read, a standard file selection dialog box 
  3391. will be displayed. You may then search around for the file you are interested 
  3392. in. 
  3393.  
  3394. File/Open is available only if a calculation is not currently in progress. 
  3395.  
  3396.  
  3397. ΓòÉΓòÉΓòÉ 8.4.3. Save as ΓòÉΓòÉΓòÉ
  3398.  
  3399. File/Save as writes a .GIF file, any of the supported bitmap formats noted, or 
  3400. a PC Paintbrush .PCX file. 
  3401.  
  3402. The file format for the Bitmap file will be determined by your selection from 
  3403. the list of BMPs indicated (some programs will only read one of those 
  3404. supported). 
  3405.  
  3406. o OS/2 1.x bitmaps 
  3407.  
  3408. o Windows 3.0 device independent bitmaps (DIBs) 
  3409.  
  3410. o Windows 3.0 DIBs compressed as RLE4 or RLE8 
  3411.  
  3412. o OS/2 2.0 bitmaps 
  3413.  
  3414. o OS/2 2.0 bitmaps compressed as RLE4 or RLE8 
  3415.  
  3416. After indicating the type of file to write, a standard file selection dialog 
  3417. box will be displayed. You may then specify a file name or search around for an 
  3418. existing file to select and replace. 
  3419.  
  3420. File/Save as is available only if a calculation is not currently in progress. 
  3421.  
  3422. Note:  The compressed forms may be use if you want to transfer the image to a 
  3423. program that can process compressed bitmaps, and the image contains significant 
  3424. areas of one color. I leave "significant" undefined, as it depends on the file 
  3425. as a whole. 
  3426.  
  3427. The Run Length Encoded (RLE) compression algorithms are fairly simple, and my 
  3428. implementations of them is even more simple-minded. The GIF format is still 
  3429. much better for complicated images. 
  3430.  
  3431.  
  3432. ΓòÉΓòÉΓòÉ 8.4.4. Print ΓòÉΓòÉΓòÉ
  3433.  
  3434. File/Print prints to the selected Presentation Manger printer. The  Print 
  3435. Dialog will display letting you set the number of copies to print. 
  3436.  
  3437. Note:  If you are printing to a Presentation Manager printer that only prints 
  3438. black and white (well, actually, only prints black or the paper color), then 
  3439. you must select one of the 2-color palette settings (either "Black/White" or 
  3440. "White/Black") before printing to get a usable result. Printing attempts to map 
  3441. the displayed colors to the capabilities of the printer as best it can. 
  3442. Unfortunately, the rules for printing to a 2-color printer are that the 
  3443. "Foreground" color (usually white) will come out as black, and all the rest 
  3444. will come out as white (background). The result is usually not as interesting 
  3445. as the multi-color display. 
  3446.  
  3447. This support is here so that a color printer will attempt to map displayed 
  3448. colors as best it can to the colors available in the printer. Unfortunately, 
  3449. that then makes printing to a black and white printer a special case. 
  3450.  
  3451. File/Print is only available if a calculation is not currently in progress. 
  3452.  
  3453. For more information, see  Palette switching. 
  3454.  
  3455.  
  3456. ΓòÉΓòÉΓòÉ 8.4.5. Read Color Map ΓòÉΓòÉΓòÉ
  3457.  
  3458. File/Read Color Map reads a FRACTINT family .MAP file and makes it available as 
  3459. the User Palette selection in the Settings/Set Palette dialog, discussed below. 
  3460.  
  3461. For a description of some of the available files, see  Palette Maps. 
  3462.  
  3463.  
  3464. ΓòÉΓòÉΓòÉ 8.4.6. Write Color Map ΓòÉΓòÉΓòÉ
  3465.  
  3466. File/Write Color Map writes the palette values currently selected by the 
  3467. Settings/Set Palette dialog to a FRACTINT family .MAP file. 
  3468.  
  3469. For a description of some of the available files, see  Palette Maps. 
  3470.  
  3471.  
  3472. ΓòÉΓòÉΓòÉ 8.5. Edit menu ΓòÉΓòÉΓòÉ
  3473.  
  3474. The Edit menu allows access to the OS/2 Presentation Manager Clipboard. This 
  3475. allows the screen contents to be transfered to another program that can extract 
  3476. a Bitmap from the PM Clipboard, or to receive a bitmap generated by another 
  3477. program. The other program could be a paint program, ICON editor, or whatever. 
  3478.  
  3479. The menu has the following options: 
  3480.  
  3481.  Copy Bmp 
  3482.  
  3483.  Paste 
  3484.  
  3485.  Clear ClipBoard 
  3486.  
  3487.  
  3488. ΓòÉΓòÉΓòÉ 8.5.1. Copy Bmp ΓòÉΓòÉΓòÉ
  3489.  
  3490. Edit/Copy Bmp will place a copy of the current screen image on the PM Clipboard 
  3491. as a Bitmap. Color information is transmitted as part of the bitmap, but the 
  3492. fractal description information (that would be saved as part of a FRACTINT .GIF 
  3493. file) is not. This option is available only when a fractal is currently not 
  3494. being calculated, and will be grayed-out if it cannot be selected. 
  3495.  
  3496.  
  3497. ΓòÉΓòÉΓòÉ 8.5.2. Paste ΓòÉΓòÉΓòÉ
  3498.  
  3499. Edit/Paste, brings a bitmap off the PM Clipboard back onto the screen. As no 
  3500. fractal description information is available, the display becomes a PLASMA 
  3501. fractal. Edit/Paste is available only if a calculation is not currently in 
  3502. progress, and there is actually a bitmap on the Clipboard. 
  3503.  
  3504.  
  3505. ΓòÉΓòÉΓòÉ 8.5.3. Clear ClipBoard ΓòÉΓòÉΓòÉ
  3506.  
  3507. Edit/Clear ClipBoard causes Fractint for PM to discard any current contents of 
  3508. the PM Clipboard, whatever it is and from whatever source is came from. 
  3509.  
  3510. This is a useful way to save some memory if you don't what the current 
  3511. clipboard contents. Unless told to discard the Clipboard, Presentation Manger 
  3512. will hold on to the bitmap until you shut your system down. 
  3513.  
  3514.  
  3515. ΓòÉΓòÉΓòÉ 8.6. View menu ΓòÉΓòÉΓòÉ
  3516.  
  3517. The View menu allows you to move around in the current fractal image. This is 
  3518. possible on most fractal types. 
  3519.  
  3520. Note:  Zooming or Panning is not possible for the PLASMA fractal type. Since 
  3521. this is also the type used internally for an image (Bitmap or .GIF file) that 
  3522. is not from a Fractint family source, zooming and panning is also not possible 
  3523. on these images. 
  3524.  
  3525. The following selections are on the View menu. 
  3526.  
  3527.  various Zoom selections 
  3528.  
  3529.  Pan center 
  3530.  
  3531.  
  3532. ΓòÉΓòÉΓòÉ 8.6.1. Zoom selections ΓòÉΓòÉΓòÉ
  3533.  
  3534. The various zoom selections provide zooming in or out to see more or less 
  3535. detail of the fractal. 
  3536.  
  3537. Details are given under  Zooming and Panning. 
  3538.  
  3539. Variable zooming is provided by a prompting window for a zoom factor. A decimal 
  3540. number is allowed as a zoom factor. 
  3541.  
  3542.  
  3543. ΓòÉΓòÉΓòÉ 8.6.2. Pan Center ΓòÉΓòÉΓòÉ
  3544.  
  3545. This selection chantges the point that is the center of the screen. 
  3546.  
  3547. Details are given under  Zooming and Panning. 
  3548.  
  3549.  
  3550. ΓòÉΓòÉΓòÉ 8.7. Settings menu ΓòÉΓòÉΓòÉ
  3551.  
  3552. Settings are the parameters and options that determine how the program will 
  3553. evaluate the selected fractal formula. 
  3554.  
  3555. The following selections are on the Settings menu. 
  3556.  
  3557.  Swap 
  3558.  
  3559.  Set Extents 
  3560.  
  3561.  Set Parameters 
  3562.  
  3563.  Set Options 
  3564.  
  3565.  Reset 
  3566.  
  3567.  Image Settings 
  3568.  
  3569.  Palette switching 
  3570.  
  3571.  
  3572. ΓòÉΓòÉΓòÉ 8.7.1. Swap ΓòÉΓòÉΓòÉ
  3573.  
  3574. The Settings/Swap to Mandel or Settings/Swap to Julia allows you to switch 
  3575. between related Mandelbrot and Julia sets if the specific fractal allows that. 
  3576.  
  3577.  
  3578. ΓòÉΓòÉΓòÉ 8.7.2. Set Extents ΓòÉΓòÉΓòÉ
  3579.  
  3580. The Settings/Set Extents displays and allows modification of the X and Y 
  3581. extents of the complex plane (the numbers that the fractals are defined and 
  3582. calculated on) that the display window represents. This is a numeric display of 
  3583. the changes made by the View menu. 
  3584.  
  3585.  More Detail 
  3586.  
  3587.  
  3588. ΓòÉΓòÉΓòÉ 8.7.3. Set Parameters ΓòÉΓòÉΓòÉ
  3589.  
  3590. The Settings/Set Parameters displays and allows modification to various numeric 
  3591. parameters that each fractal calculation contains. The meaning and effects of 
  3592. these parameters can be determined by selecting help when the dialog box is 
  3593. displayed. The help window will detail the parameters for the current fractal 
  3594. type. 
  3595.  
  3596.  More Detail 
  3597.  
  3598.  
  3599. ΓòÉΓòÉΓòÉ 8.7.4. Set Options ΓòÉΓòÉΓòÉ
  3600.  
  3601. The Settings/Set Options selects various calculation options, such as integer 
  3602. or floating point math, number of passes, and calculation depth (max 
  3603. iterations). 
  3604.  
  3605.  
  3606. ΓòÉΓòÉΓòÉ 8.7.5. Reset ΓòÉΓòÉΓòÉ
  3607.  
  3608. The Settings/Reset Above will, when in the Freeze state, allow the cancelation 
  3609. of changes made by one of the above choices, restoring the "current" 
  3610. calculation options from what is currently displayed. 
  3611.  
  3612.  
  3613. ΓòÉΓòÉΓòÉ 8.7.6. Image Settings ΓòÉΓòÉΓòÉ
  3614.  
  3615. The Settings/Set Image Settings changes the number and color depth of the 
  3616. pixels being calculated. The colors can be 2 (black and white), 16 color, or 
  3617. 256 color. The pixel dimensions largely affect the resolution of a future saved 
  3618. or printed image, as whatever is being calculated will be compressed or 
  3619. expanded as needed to fit in the display window. 
  3620.  
  3621. Note:  The fractal calculation engine has finally recieved a reprieve from the 
  3622. limits of the 64K segments of DOS and WINDOWS. As such, the fractal image can 
  3623. now be 4096 by 4096 pixels. 
  3624.  
  3625. Warning: Don't over do this new-found freedom. 
  3626.  
  3627. Do a little reality check first. 
  3628.  
  3629. The fact is PMFRACT needs a pixel memory array of the size you ask, and OS/2 
  3630. NEEDS ONE, TOO. 
  3631.  
  3632. A little calculation: 
  3633.  
  3634. A 2-color image needs 1 bit per pixel, a 16-color image needs a half byte (4 
  3635. bits), and a 256-color image needs 1 full byte (8 bits). An image 4096 by 4096 
  3636. by 256 colors needs 4096x4096/1 = 16,777,216 bytes or 16 megabytes -- TIMES 2; 
  3637. or 32 MEGABYTES of memory. OS/2 2.0 can handle it. Can your system? 
  3638.  
  3639. Remember, what doesn't fit in your real memory comes out of your hard disk's 
  3640. SWAPPER.DAT file. Do you have that much space free to begin with? Can the drive 
  3641. live long enough to handle all the swapping? A test (well, really a finger 
  3642. check) during development revealed that you can easily end up with a situation 
  3643. that could only be described as disk-video at its worst. (And no, OS/2 2.0 Did 
  3644. Not Crash.) 
  3645.  
  3646.  
  3647. ΓòÉΓòÉΓòÉ 8.7.7. Palette switching ΓòÉΓòÉΓòÉ
  3648.  
  3649. The Settings/Set Palette selects a dialog giving various palette options. The 
  3650. Black and White, 16-color VGA, 256-color VGA, and Physical palette are fixed by 
  3651. the program or your hardware. 
  3652.  
  3653. The User Loaded Palette selection will be enabled when sucessfully loaded by an 
  3654. external palette, such as reading a Color Map via the File/Read Color Map menu 
  3655. selection, or by the palette contained in a loaded .GIF file or bitmap. 
  3656.  
  3657. The "Black/White" and "White/Black" selections are available to allow you to 
  3658. set up for printing on a 2-color printer and view the result before pringing. 
  3659. For more information on printing, see  Print. 
  3660.  
  3661.  
  3662. ΓòÉΓòÉΓòÉ 8.8. Help ΓòÉΓòÉΓòÉ
  3663.  
  3664. At any time additional Help can be displayed. 
  3665.  
  3666. Help for Help describes how to use the help system. 
  3667.  
  3668.  General Help goes to a panel giving access to topics from an overview of 
  3669. fractals, details of the fractal types and formulas implemented in this 
  3670. program, and details on the operation of this program. 
  3671.  
  3672.  Keys Help details the single keystroke "Hot Keys" available. 
  3673.  
  3674. Help Index will display all topics included in this help system. It is also 
  3675. available by selecting the "Index" button at the bottom of this help system 
  3676. window. 
  3677.  
  3678. About displays copyright, author, and release information for the program. 
  3679.  
  3680.  
  3681. ΓòÉΓòÉΓòÉ 8.9. Print ΓòÉΓòÉΓòÉ
  3682.  
  3683. Here you see confirmation of the printer you are about to print to and the name 
  3684. of the fractal you are about to print. 
  3685.  
  3686. If desired, set a number of copies in the "Copies" box, then select "Print" to 
  3687. start the print process. 
  3688.  
  3689. The screen will blank as the print process occurs in the background. If 
  3690. desired, you may switch to another application while the print is occuring. 
  3691.  
  3692. If you change your mind, select "Cancel". 
  3693.  
  3694. If you don't want to print to the indicated printer, select "Cancel" then 
  3695. change the printer from the "File/Targe Printer" menu. 
  3696.  
  3697. For more information, see: 
  3698.  
  3699. o File/Print for considerations of the printing process. 
  3700.  
  3701. o File/Target Printer for details of selecting a printer. 
  3702.  
  3703.  
  3704. ΓòÉΓòÉΓòÉ 8.10. Select a File to Open ΓòÉΓòÉΓòÉ
  3705.  
  3706. Based on the file type previously selected, you see here all files of that type 
  3707. in the current directory. Select one, or select another drive or directory from 
  3708. the appropriate drop-down list, or type in a full path and file name in the 
  3709. entry box at the top (if you need the typing practice). 
  3710.  
  3711. For more information, select from below: 
  3712.  
  3713. o File/Open. 
  3714.  
  3715. o GIF Save File Format. 
  3716.  
  3717.  
  3718. ΓòÉΓòÉΓòÉ 8.11. Save to What File? ΓòÉΓòÉΓòÉ
  3719.  
  3720. Based on the file type previously selected, you see here all files of that type 
  3721. in the current directory. Select one, or select another drive or directory from 
  3722. the appropriate drop-down list, or type in a partial or full file name in the 
  3723. entry box at the top. 
  3724.  
  3725. Warning: You will not be warned if you are about to overwrite an existing file. 
  3726.  
  3727. For more information, select from below: 
  3728.  
  3729. o File/Save As. 
  3730.  
  3731. o GIF Save File Format. 
  3732.  
  3733.  
  3734. ΓòÉΓòÉΓòÉ 8.12. Specify the Color Map File ΓòÉΓòÉΓòÉ
  3735.  
  3736. You see here all files of type .MAP in the current directory. Select one to 
  3737. read or overwrite, or select another drive or directory from the appropriate 
  3738. drop-down list, or type in a partial or full file name in the entry box at the 
  3739. top. 
  3740.  
  3741. For more information, select from below: 
  3742.  
  3743. o Read Color Map. 
  3744.  
  3745. o Write Color Map. 
  3746.  
  3747. o Palette Maps 
  3748.  
  3749.  
  3750. ΓòÉΓòÉΓòÉ 8.13. Select an IFS File ΓòÉΓòÉΓòÉ
  3751.  
  3752. You see here all files of type .IFS in the current directory. Select one to 
  3753. read, or select another drive or directory from the appropriate drop-down list, 
  3754. or type in a partial or full file name in the entry box at the top. 
  3755.  
  3756. For more information, select from below: 
  3757.  
  3758. o Barnsley IFS Fractals 
  3759.  
  3760.  
  3761. ΓòÉΓòÉΓòÉ 8.14. Select a Formula File ΓòÉΓòÉΓòÉ
  3762.  
  3763. You see here all files of type .FRM in the current directory. Select one to 
  3764. read, or select another drive or directory from the appropriate drop-down list, 
  3765. or type in a partial or full file name in the entry box at the top. 
  3766.  
  3767. For more information, select from below: 
  3768.  
  3769. o Formula 
  3770.  
  3771.  
  3772. ΓòÉΓòÉΓòÉ 8.15. Select an L-System File ΓòÉΓòÉΓòÉ
  3773.  
  3774. You see here all files of type .L in the current directory. Select one to read, 
  3775. or select another drive or directory from the appropriate drop-down list, or 
  3776. type in a partial or full file name in the entry box at the top. 
  3777.  
  3778. For more information, select from below: 
  3779.  
  3780. o L-Systems 
  3781.  
  3782.  
  3783. ΓòÉΓòÉΓòÉ 8.16. Target Printer Selection. ΓòÉΓòÉΓòÉ
  3784.  
  3785. Select one of the printers displayed in the list box. The one initially 
  3786. highlighted is the last one you selected, or the OS/2 default you defined if 
  3787. you have not set your printer up before. 
  3788.  
  3789. The selected printer will then be the one that a subsequent "File/Print" action 
  3790. will print to. 
  3791.  
  3792. Initially, the attributes for the chosen printer (such as orientation, form, 
  3793. draft or final quality, etc.) will be the default attributes set in the printer 
  3794. setup. To change these attributes, select the printer and then press the "Job 
  3795. Properties..." button. A dialog box will be displayed which will allow you to 
  3796. see and change the attributes that are applicable to that printer. When you are 
  3797. satisfied, press "OK" from there, then "OK" on the "Printing Options" dialog 
  3798. box. 
  3799.  
  3800. Note:  Printer selections, and printer attributes, are not saved between 
  3801. executions of this program. If you desire to use a non-default printer, you 
  3802. must select it each time you run this program. If you want non-default 
  3803. attributes, you must set them each time you run this program. 
  3804.  
  3805.  
  3806. ΓòÉΓòÉΓòÉ 9. Keys Help ΓòÉΓòÉΓòÉ
  3807.  
  3808. The following keys have special meaning. To see a detailed explaination of the 
  3809. action, just tab to highlighted words and press enter, or click with the mouse. 
  3810.  
  3811. F3        Alias for File/Exit to terminate the program. 
  3812.  
  3813. F2        Alias for  File/New. 
  3814.  
  3815. Alt-F2    Alias for  File/Open. 
  3816.  
  3817. F4        Alias for  File/Print. 
  3818.  
  3819. Esc       Cancels out of  Pan or Zoom mode. 
  3820.  
  3821.           The following keys are a subset of the keys used by FRACTINT for Dos. 
  3822.  
  3823. Tab       Alias for  Settings/Extents. 
  3824.  
  3825. <T>       Alias for  File/New. 
  3826.  
  3827. <X>       Alias for  Settings/Set Options. 
  3828.  
  3829. <Y>       Another alias for  Settings/Set Options. 
  3830.  
  3831. <Z>       Alias for  Settings/Set Parameters. 
  3832.  
  3833. <S>       Alias for  File/Save As. 
  3834.  
  3835. <R>       Alias for  File/Open. 
  3836.  
  3837. <P>       Alias for  File/Print. 
  3838.